On 30 March 2011 11:34, Michael Sagar
<michaeljsagar-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
wrote:> hi i am trying to seed my database using
> rake db:seed
> fist error I had was
> uninitialized constant faker
> so I added the faker gem
> second was
> uninitialized constant factory
> so I added factory_girl_rails gem
> third was
> uninitialized constant license
> so I added license gem
> now I get the error
> undefined method `create'' for License:Class
>
> can anyone help I''ve been stuck on this for 2 days now
It might be helpful if you showed us some code. Preferably the bit
that is causing the error.
Colin
--
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
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.