Sha256: 1a6d2e98f44e8d14b15e902c60ddd58999aa8cdf55c0a3120f14148b01579ab5
Contents?: true
Size: 313 Bytes
Versions: 15
Compression:
Stored size: 313 Bytes
Contents
class PostWithOnlySomeAttributesTriggeringReindex < ActiveRecord::Base def self.table_name 'posts' end attr_accessible :title, :type, :location_id, :body, :blog searchable :only_reindex_attribute_changes_of => [ :title, :body ] do string :title text :body, :more_like_this => true end end
Version data entries
15 entries across 15 versions & 2 rubygems