Why would this:
$ rails generate migration add_user_id_to_articles user_id:integer
return this:
NameError: undefined local variable or method ‘integer’ for
main:Object ???
Why would this:
$ rails generate migration add_user_id_to_articles user_id:integer
return this:
NameError: undefined local variable or method ‘integer’ for
main:Object ???
On May 1, 8:56pm, Bruce W. [email protected] wrote:
Why would this:
$ rails generate migration add_user_id_to_articles user_id:integer
return this:
NameError: undefined local variable or method ‘integer’ for
main:Object ???
Did you type this at the rails console rather than at the command
line?
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs