[Rails] Rake and Unitizialized Constants when RAIL_ENV is specified
Hi guys,
I'm having a problem with rake and rails 2.3.5
When I use any model inside db/seeds.rb or in any rake task and the
RAILS_ENV var is specified, I get the error:
uninitialized constant ModelName
Any clues?
Thanks a lot in advance.
--
Leonardo Mateo.
There's no place like ~
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home