Frederick Cheung wrote: > On Jun 14, 11:23�pm, nico Itkin <[email protected]> > wrote: >> Frederick Cheung wrote: > >> >> ... all the instance of type StatusAction become constants called >> StatusAction::THE_RECORD_NAME_FIELD >> >> well the strangest is that is contant_cache seems not to be correctly >> run from rake... > > So what exactly happens when you run rake ? > > Fred
When I run ruby unit/status_test.rb : everything is fine, constants are all present When I run rake test:units : no constant is set, as if constant_cache hasn't been run ... so my trouble Thanks, Itkin -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

