diff options
Diffstat (limited to 'lib/active_relation/extensions/base.rb')
-rw-r--r-- | lib/active_relation/extensions/base.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/active_relation/extensions/base.rb b/lib/active_relation/extensions/base.rb index 8fe00146d2..0115586b00 100644 --- a/lib/active_relation/extensions/base.rb +++ b/lib/active_relation/extensions/base.rb @@ -21,7 +21,6 @@ class ActiveRecord::Base end # all of the below disables normal AR behavior. It's rather destructive and purely for demonstration purposes (see scratch_spec). - class ActiveRecord::Associations::BelongsToAssociation def instantiate(record, joins = []) @target = proxy_reflection.klass.instantiate(record, joins) |