1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model
Godfrey Chan 4a19b3dea6 Pass through the prepend option to AS::Callback
I'm not sure what's the use case for this, but apparently it broke some apps.
Since it was not the intended result from #16210 I fixed it to not raise an
exception anymore. However, I didn't add documentation for it because I don't
know if this should be officially supported without knowing how it's meant to
be used.

In general, validations should be side-effect-free (other than adding to the
error message to `@errors`). Order-dependent validations seems like a bad idea.

Fixes #18002
2014-12-12 14:51:02 -08:00
..
locale
serializers Fixing documentation in JSON#from_json 2014-11-20 14:50:24 -06:00
validations
attribute_methods.rb
callbacks.rb
conversion.rb
dirty.rb
errors.rb
forbidden_attributes_protection.rb
gem_version.rb
lint.rb
model.rb
naming.rb
railtie.rb
secure_password.rb
serialization.rb
test_case.rb
translation.rb
validations.rb
validator.rb
version.rb