Module: ThinkingSphinx::ActiveRecord::AttributeUpdates

Defined in:
lib/thinking_sphinx/active_record/attribute_updates.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
# File 'lib/thinking_sphinx/active_record/attribute_updates.rb', line 4

def self.included(base)
  base.class_eval do
    after_save :update_attribute_values
  end
end