[Rails] Re: Trying to create a standalone migration file, db:migrate

2014-11-28 Thread Dmoneyzzz Darko
Colin Law wrote in post #1163577: > rails generate migration ... > from the command line. That will generate the migration file in > db/migrate, then you have a look there to make sure it is correct and > then run > rake db:migrate > to apply the migration. > > I recommend working right through a

Re: [Rails] Trying to create a standalone migration file, db:migrate

2014-11-28 Thread Colin Law
On 28 November 2014 at 21:43, Dmoneyzzz Darko wrote: > I have this code placed in my project's bin/rails directory: > > #!/usr/bin/env ruby.exe > APP_PATH = File.expand_path('../../config/application', __FILE__) > require_relative '../config/boot' > require 'rails/commands' >

[Rails] Trying to create a standalone migration file, db:migrate

2014-11-28 Thread Dmoneyzzz Darko
I have this code placed in my project's bin/rails directory: #!/usr/bin/env ruby.exe APP_PATH = File.expand_path('../../config/application', __FILE__) require_relative '../config/boot' require 'rails/commands' generate migration add_physician_id_to_appointment and I the

Re: [Rails] something wierd in Hartl newest tutorial

2014-11-28 Thread Roelof Wobben
No, I mean that I do not do the exercises if have for example 10 minutes free time. Roelof Op vrijdag 28 november 2014 21:24:17 UTC+1 schreef Colin Law: > On 28 November 2014 at 19:18, Roelof Wobben > wrote: > > You are right. > > > > Next time I wil do this sorts of things when I have

Re: [Rails] something wierd in Hartl newest tutorial

2014-11-28 Thread Colin Law
On 28 November 2014 at 19:18, Roelof Wobben wrote: > You are right. > > Next time I wil do this sorts of things when I have more time. If you mean that you are not going to do the exercises because you do not have enough time then that may be a false way of saving time. It is not until you try t

Re: [Rails] something wierd in Hartl newest tutorial

2014-11-28 Thread Roelof Wobben
You are right. Next time I wil do this sorts of things when I have more time. Roelof Op vrijdag 28 november 2014 15:06:32 UTC+1 schreef Colin Law: > On 28 November 2014 at 14:00, Roelof Wobben > wrote: > > IM at chapter 2 exercises and then he asked if you can try this : > > > > class Use

Re: [Rails] Re: need list of all aliases

2014-11-28 Thread tom
4 - ok 3.2 - not ok thx again On Fri, Nov 28, 2014 at 5:52 AM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > > On Wednesday, November 26, 2014 4:53:23 PM UTC, der_tom wrote: >> >> fred, >> cant find it in the docs, is that also available for r3.2? >> thx >> >> > I've no idea. Did yo

Re: [Rails] something wierd in Hartl newest tutorial

2014-11-28 Thread Colin Law
On 28 November 2014 at 14:00, Roelof Wobben wrote: > IM at chapter 2 exercises and then he asked if you can try this : > > class User < ActiveRecord::Base > >has_many :microposts > >validates FILL_IN, presence: true >validates FILL_IN, presence: true > > end > > but as soon as I do rai

[Rails] something wierd in Hartl newest tutorial

2014-11-28 Thread Roelof Wobben
IM at chapter 2 exercises and then he asked if you can try this : class User < ActiveRecord::Base has_many :microposts validates FILL_IN, presence: true validates FILL_IN, presence: true end but as soon as I do rails s I see this error messages : Started GET "/users/4" for

[Rails] [JOBS] SchoolGuide.co.uk: hiring Lead Ruby Developer | Bath, UK | relocation offered

2014-11-28 Thread andrew
Hello, www.SchoolGuide.co.uk is expanding its leadership team here in central Bath (south west UK) and we thought you may appreciate hearing, just in case. Essentially, it's a Lead Developer role, with responsibility transferred to you from Dan Bartlett the CTO for the platform’s roadmap, arc

Re: [Rails] Re: need list of all aliases

2014-11-28 Thread Frederick Cheung
On Wednesday, November 26, 2014 4:53:23 PM UTC, der_tom wrote: > > fred, > cant find it in the docs, is that also available for r3.2? > thx > > I've no idea. Did you try it? > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubsc

[Rails] [JOBS] The Netherlands: land of opportunities

2014-11-28 Thread Jeroen van de Put
Many Dutch IT-organisations invest in innovative development projects written in Ruby. There is a shortage of Ruby on Rails developers in The Netherlands and this creates possibilities for developers abroad. If you are looking for a change in job and are willing to relocate to the Netherlands,