diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-22 21:53:18 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-22 21:53:18 -0300 |
commit | a4c4fa307fa0fe88d63d5442a86564dab2b684ae (patch) | |
tree | 407ffd1af1326c7c92e99157f0a407d121b5fa54 /activesupport/lib/active_support/callbacks.rb | |
parent | 90269802dbf690fbe8be0cd01e3b387a51f02b70 (diff) | |
download | rails-a4c4fa307fa0fe88d63d5442a86564dab2b684ae.tar.gz rails-a4c4fa307fa0fe88d63d5442a86564dab2b684ae.tar.bz2 rails-a4c4fa307fa0fe88d63d5442a86564dab2b684ae.zip |
Refactor GeneratedAttributes
* Move reference? method to class to remove duplicated code
* Move to_sym typecast from #initialize to .parse method (make it
easier to refactor reference?), remove AS object/blank require
* Use []= instead of merge!({})
* Remove in? in favor of include?, remove AS object/inclusion require
Diffstat (limited to 'activesupport/lib/active_support/callbacks.rb')
0 files changed, 0 insertions, 0 deletions