Method: DataMapper::Resource#save
- Defined in:
- lib/dm-core/resource.rb
#save ⇒ Boolean
Save the instance and loaded, dirty associations to the data-store
404 405 406 407 408 409 |
# File 'lib/dm-core/resource.rb', line 404 def save assert_not_destroyed(:save) retval = _save assert_save_successful(:save, retval) retval end |