Module: BlindIndex::Model::InstanceMethods

Defined in:
lib/blind_index/model.rb

Instance Method Summary collapse

Instance Method Details

#read_attribute_for_validation(key) ⇒ Object



100
101
102
103
104
105
106
# File 'lib/blind_index/model.rb', line 100

def read_attribute_for_validation(key)
  if (bi = self.class.blind_indexes[key])
    send(bi[:attribute])
  else
    super
  end
end