Module: BlindIndex::Model::InstanceMethods

Defined in:
lib/blind_index/model.rb

Instance Method Summary collapse

Instance Method Details

#read_attribute_for_validation(key) ⇒ Object



106
107
108
109
110
111
112
# File 'lib/blind_index/model.rb', line 106

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