diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2016-02-12 14:30:13 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2016-02-12 15:40:16 -0800 |
commit | ac9d32bf90ce3d2205be02b58743676868286123 (patch) | |
tree | bf682a9c4da66d5eb8d02a2f292453a91cf6bc8b /activerecord/lib/active_record/callbacks.rb | |
parent | 6e8d70e697cc0e90429cecc89dfe7c38cfb117ee (diff) | |
download | rails-ac9d32bf90ce3d2205be02b58743676868286123.tar.gz rails-ac9d32bf90ce3d2205be02b58743676868286123.tar.bz2 rails-ac9d32bf90ce3d2205be02b58743676868286123.zip |
push kwargs up to the user facing API
this lets us leverage Ruby's kwarg handling (exceptions for missing
params, etc) ASAP which allows us to skip active support method calls
and make sure the exception stack is closer to where the user called the
methods.
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
0 files changed, 0 insertions, 0 deletions