diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-14 12:43:00 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-07-14 13:08:44 +0900 |
commit | 2992faa45b1b3842e1df30384bba496bb315d09d (patch) | |
tree | 7c6b4fbf6b5ccdb0b6be7e01ccf465d3fe90c408 /activerecord/test/cases/attribute_methods | |
parent | c1f9fa8c69590222fac43d58bf64ef4a1225d7ce (diff) | |
download | rails-2992faa45b1b3842e1df30384bba496bb315d09d.tar.gz rails-2992faa45b1b3842e1df30384bba496bb315d09d.tar.bz2 rails-2992faa45b1b3842e1df30384bba496bb315d09d.zip |
Remove unused `Mutex_m` in Active Model
Diffstat (limited to 'activerecord/test/cases/attribute_methods')
-rw-r--r-- | activerecord/test/cases/attribute_methods/read_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/cases/attribute_methods/read_test.rb b/activerecord/test/cases/attribute_methods/read_test.rb index 1fc63a49d4..934d5bf8b2 100644 --- a/activerecord/test/cases/attribute_methods/read_test.rb +++ b/activerecord/test/cases/attribute_methods/read_test.rb @@ -8,11 +8,10 @@ module ActiveRecord end def setup - @klass = Class.new do + @klass = Class.new(Class.new { def self.initialize_generated_modules; end }) do def self.superclass; Base; end def self.base_class; self; end def self.decorate_matching_attribute_types(*); end - def self.initialize_generated_modules; end include ActiveRecord::DefineCallbacks include ActiveRecord::AttributeMethods |