diff options
author | Sean Linsley <code@seanlinsley.com> | 2017-10-18 10:29:27 -0500 |
---|---|---|
committer | Sean Linsley <code@seanlinsley.com> | 2018-07-22 12:51:47 -0500 |
commit | dfb0e4b3dc94860e6d484385d31fd399d33dac92 (patch) | |
tree | f22a5dbdd3a1af63920001749a038629167148d0 /activerecord/lib/active_record/persistence.rb | |
parent | 97321956e6c2d2bae1bf6f76fce5bfb909ab58b0 (diff) | |
download | rails-dfb0e4b3dc94860e6d484385d31fd399d33dac92.tar.gz rails-dfb0e4b3dc94860e6d484385d31fd399d33dac92.tar.bz2 rails-dfb0e4b3dc94860e6d484385d31fd399d33dac92.zip |
add strict argument checking to ActiveRecord callbacks
This ends up adding it to all save-related callbacks defined in `ActiveRecord::DefineCallbacks`, including e.g. `after_create`. Which should be fine: they didn't support `:on` in the first place.
Diffstat (limited to 'activerecord/lib/active_record/persistence.rb')
0 files changed, 0 insertions, 0 deletions