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 ???
Did you type this at the rails console rather than at the command line?
Fred
Thank you , Frederick