instance method
save
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
save(options={})
The validation process on save can be skipped by passing :validate => 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 49
def save(options={})
perform_validations(options) ? super : false
end
Defined in activerecord/lib/active_record/validations.rb line 49
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Validations