search for: cached_nam

Displaying 1 result from an estimated 1 matches for "cached_nam".

Did you mean: cached_ans
2008 Dec 13
1
need to initialize contant arrays , where to do it...
I need to load names, from the table ''domains'' into an array (frequently used in my app..) ALL_DOMAINS = Domain.find(:all).map { |d| d.name }.compact I tried to write it in an initialize or in my application.rb BUT problem : when I run a rake db:migrate initially (after creating the database) I get an error.. rake db:migrate --trace (in