diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-01-24 18:05:33 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-01-29 10:53:48 -0800 |
commit | 9ed66648b59b160b43c83c349263e8cb97eaa088 (patch) | |
tree | 4a0f50070e1e68fef5c437b422afddc7cc5383fe /actionpack/MIT-LICENSE | |
parent | 0f156100a2d25fba820016c684cbc3d3fadbc1bd (diff) | |
download | rails-9ed66648b59b160b43c83c349263e8cb97eaa088.tar.gz rails-9ed66648b59b160b43c83c349263e8cb97eaa088.tar.bz2 rails-9ed66648b59b160b43c83c349263e8cb97eaa088.zip |
Fixed a bug in AR::Base#respond_to?
Before:
>> ActiveRecord::Base.respond_to?(:find_by_something)
NoMethodError: undefined method `abstract_class?' for Object:Class
After:
>> ActiveRecord::Base.respond_to?(:find_by_something)
=> false
Diffstat (limited to 'actionpack/MIT-LICENSE')
0 files changed, 0 insertions, 0 deletions