aboutsummaryrefslogtreecommitdiffstats
path: root/rails.gemspec
diff options
context:
space:
mode:
authorbeerlington <pete@lette.us>2012-07-26 13:46:49 -0400
committerbeerlington <pete@lette.us>2012-07-26 13:46:49 -0400
commitd0aebd5357a5fcbb2f55963e4191e26458ad6d72 (patch)
treeea7ff5ed129c32e48b1b7423ec63f78247f9605b /rails.gemspec
parentb1d7283b2ac6763973e1a64475fc1c279cec8775 (diff)
downloadrails-d0aebd5357a5fcbb2f55963e4191e26458ad6d72.tar.gz
rails-d0aebd5357a5fcbb2f55963e4191e26458ad6d72.tar.bz2
rails-d0aebd5357a5fcbb2f55963e4191e26458ad6d72.zip
Refactor ActiveRecord::Inheritance.base_class logic
Moved logic from class_of_active_record_descendant(class) to the base_class method. This method was confusing because it required an argument, but that argument was 'self'. Moved base_class tests to inheritance_test.rb and added some test coverage for some untested cases.
Diffstat (limited to 'rails.gemspec')
0 files changed, 0 insertions, 0 deletions