Why this NameError ???

Bruce Wilson
Sun, 01 May 2011 19:56:43 -0000

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   ???

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org