diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-12-23 18:20:35 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-12-23 18:22:44 +0000 |
commit | 7bb754eaedcc49d7b085e417e741d42bb603e4c0 (patch) | |
tree | 837002d6f0c2ed38631063e3ae6628cb3ae91e20 /activerecord/test/cases/attribute_methods | |
parent | 6b9ab88a48c9625737a5603a0ac5dc60c25a88d9 (diff) | |
download | rails-7bb754eaedcc49d7b085e417e741d42bb603e4c0.tar.gz rails-7bb754eaedcc49d7b085e417e741d42bb603e4c0.tar.bz2 rails-7bb754eaedcc49d7b085e417e741d42bb603e4c0.zip |
Fix #4046.
Diffstat (limited to 'activerecord/test/cases/attribute_methods')
-rw-r--r-- | activerecord/test/cases/attribute_methods/read_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/attribute_methods/read_test.rb b/activerecord/test/cases/attribute_methods/read_test.rb index 86a240d93c..7665f1c12e 100644 --- a/activerecord/test/cases/attribute_methods/read_test.rb +++ b/activerecord/test/cases/attribute_methods/read_test.rb @@ -14,6 +14,7 @@ module ActiveRecord def setup @klass = Class.new do + def self.superclass; Base; end def self.base_class; self; end include ActiveRecord::AttributeMethods |