Displaying 1 result from an estimated 1 matches for "firstrecord".
Did you mean:
first_records
2006 Nov 16
1
Strange indexing issues with CachedModel, STI, and AAF
...ested_set
acts_as_ferret( :fields => {
:lft { :index => :untokenized_omit_norms },
:name => {},
:desc => {},
:body => {:strore => :yes},
:role => {},
})
def self.inheritance_column
''role''
end
# methods below .....
end
class FirstRecord < Record
end
class SecondRecord < Record
end
class ApplicationController < ActionController::Base
after_filter { CachedModel.cache_reset }
end
Here''s my CachedModel setup:
- config/environment.rb:
# Include your application configuration below
require ''cached_model...