Method: DataMapper::Resource#update_attributes
- Defined in:
- lib/dm-core/resource.rb
#update_attributes(attributes = {}, *allowed) ⇒ Object
Deprecated.
Deprecated API for updating attributes and saving Resource
60 61 62 |
# File 'lib/dm-core/resource.rb', line 60 def update_attributes(attributes = {}, *allowed) raise "#{model}#update_attributes is deprecated, use #{model}#update instead (#{caller.first})" end |