i''m trying to update to rails 2.1 using instant rails, so i can use the new cache features, but when i try to use the method "Rails.cache.write" in my controller, i get the message "undefined method `cache'' for Rails:Module (NoMethodError)" and if i try to set the cache store ("ActionController::Base.cache_store = :memory_store") in a conf file, i get: "undefined method `cache_store='' for ActionController::Base:Class (NoMethodError)" the version message for ("rails -v") is "Rails 2.1.0", so i assume that the version is ok. does anyone know what could be the problem? thanks. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pepe Junty
2008-Jun-24 01:53 UTC
Re: From Instant Rails 2.0 to Rails 2.1.0 - cache problem
double post, please ignore (or delete). i posted it hours ago through google groups and only now it appeared. i''ll post here directly next time. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Jun-24 09:17 UTC
Re: From Instant Rails 2.0 to Rails 2.1.0 - cache problem
On Jun 24, 2:53 am, Pepe Junty <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> double post, please ignore (or delete). i posted > it hours ago through google groups and only now > it appeared. i''ll post here directly next time.Messages from people who have not posted before are queued for moderation, which will occasionally cause delays. Fred --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---