Displaying 2 results from an estimated 2 matches for "all_domains".
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 /Users/yves/Developpement/Projects/rails/presdemoi)
** In...
2011 May 13
18
Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/
Hi,
I have been trying to improve the coding of some of
my puppet recipes and had some trouble so wrote this:
http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/
Comments on the web seem to indicate that extlookup() solves "all
problems" but I don''t really see that and hence have proposed a possible
way to keep the data closer together and make the extlookup()