Method: ModelRecord#update_attribute

Defined in:
lib/model/the_record.rb

#update_attribute(the_attribute, the_value) ⇒ Object

mocking active record



205
206
207
# File 'lib/model/the_record.rb', line 205

def update_attribute the_attribute, the_value # :nodoc:
  update the_attribute => the_value.to_or
end