Leonardo Mateo
2010-Aug-17 14:52 UTC
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-/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.
