instance method
save
Ruby on Rails 3.0.20
Since v3.0.20Signature
save(options={})
The validation process on save can be skipped by passing false. The regular Base#save method is replaced with this when the validations module is mixed in, which it is by default.
Parameters
-
optionsopt = {}
Source
# File activerecord/lib/active_record/validations.rb, line 42
def save(options={})
perform_validations(options) ? super : false
end
Defined in activerecord/lib/active_record/validations.rb line 42
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Validations