Module: Reduceable::InstanceMethods

Defined in:
lib/reduceable.rb

Instance Method Summary collapse

Instance Method Details

#mr_dirty!Object



115
116
117
118
119
120
# File 'lib/reduceable.rb', line 115

def mr_dirty!
  MrStatus.where({:base_class => self.class.to_s}).all.each do |m|
    m.status = true
    m.save
  end
end