Hi,

On Mon, Feb 12, 2018, at 00:03, nanaya wrote:
> 
> Right, looks like I tried wrong thing before. The actual save is in 
> validation.rb and few years ago support for options is (accidentally?) 
> added during a refactor and nobody noticed until now.
> 

Nevermind, it's already fixed in 5.0 and up.

# By default, #save! always runs validations. If any of them fail
# ActiveRecord::RecordInvalid gets raised. However, if you supply
# validate: false, validations are bypassed altogether. See
# ActiveRecord::Validations for more information. 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to