Only works when config.cache_classes = false
I love search logic, but cannot get it to run in production mode. I found out that the cache_classes setting was the culprit. I know searchlogic works dynamically, but is there a way to enable searchlogic with class_caching?
When the classes are not cached I get:
undefined method cached_tags_contains' for #<Array:0x4e064c0> or undefined methodid_contains' for #Array:0x4e064c0
Has anyone found a workaround for this? I understand it is probably a bug in rails 2.3.5, but is there anyway to workaround the issue, other than defining a bunch of named_scopes manually or setting cache_classes to false?
I noticed this problem only when searchlogic is used to scope has_many associations. Base models don't cause this issue.