Thursday, April 28, 2011

[Rails] Re: Can't configure cach_store in an initializer

Thanks, but I think I found the solution and wrote it up on
stackoverflow: http://stackoverflow.com/questions/5810289/setting-the-cache-store-in-an-initializer/5811913#5811913

Problem is that Rails initializes the cache_store before it loads the
initlaizers in the initializers directory. I just found a way to load
it in application.rb instead.

--
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


Real Estate