stephen.celis-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-17 01:39 UTC
Class caching yields the wrong data
In production (and in development, with environment config set to "config.cache_classes = true"), sometimes the wrong object is associated with the wrong object because of caching. I''d rather, however, not take a performance hit by turning caching completely off. Is there a way to force a class to reload? I''ve tried using "reload" and "clear_reloadable_connections!()" ...but perhaps I''m not using them correctly. Thanks! Stephen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---