diff options
author | Steven Yang <yangchenyun@gmail.com> | 2013-06-30 18:21:12 +0800 |
---|---|---|
committer | Steven Yang <yangchenyun@gmail.com> | 2013-07-01 07:38:31 +0800 |
commit | 42a3817cd64affb38ec98985490939748569caaf (patch) | |
tree | bdb9f37d55ea920ed315fffc78ce0d0f094d5f25 /activerecord/lib/rails | |
parent | 49fd826042d2278c69a5b66eecbe896bc7908441 (diff) | |
download | rails-42a3817cd64affb38ec98985490939748569caaf.tar.gz rails-42a3817cd64affb38ec98985490939748569caaf.tar.bz2 rails-42a3817cd64affb38ec98985490939748569caaf.zip |
unified the param names across all callbacks manipulation methods
_ Rename the define_callbacks params to `names`
- in order to match the naming conventions for `get_callbacks` and `set_callbacks` at https://github.com/rails/rails/blob/master/activesupport/lib/active_support/callbacks.rb#L736-743
- `define_callbacks` just register names(events), not define the real callback functions.
- Rename the `reset_callbacks` params
Diffstat (limited to 'activerecord/lib/rails')
0 files changed, 0 insertions, 0 deletions