Ruby on Rails Thursday, April 28, 2011

On Wed, Apr 27, 2011 at 6:10 PM, Jack Chu <kamuigt@gmail.com> wrote:

I've also tried putting it in an after_initialize block and this
doesn't seem to work either.

config.after_initialize do
 config.cache_store = :redis_store, APP_CONFIG['redis']
end


I think what you are looking for is described in the Cache-store section of the README document. It discusses how to configure it for multiple versions of Rails.

https://github.com/jodosha/redis-store

B.

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

No comments:

Post a Comment