Re: Why this NameError ???

Bruce Wilson
Sun, 01 May 2011 22:23:42 -0000

Thank you , Frederick

On May 1, 1:58 pm, Frederick Cheung
<frederick.che...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> On May 1, 8:56 pm, Bruce Wilson
<bwilson...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> 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

--
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@googlegroups.com.