aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-08-01 11:43:11 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-08-01 11:43:52 -0700
commitd80a5cce88aca297ca489b90b62e2cc164c238f1 (patch)
tree81a510720377e12ddcf8751737f2ed854b07c803 /activerecord/test/cases/associations
parent8ea64bd0fce854a4bb85bf67c983d30358c8cd39 (diff)
downloadrails-d80a5cce88aca297ca489b90b62e2cc164c238f1.tar.gz
rails-d80a5cce88aca297ca489b90b62e2cc164c238f1.tar.bz2
rails-d80a5cce88aca297ca489b90b62e2cc164c238f1.zip
association builder classes no longer need the model
decouple the builder classes from the model. Builder objects should be easier to reuse now.
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r--activerecord/test/cases/associations/extension_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/extension_test.rb b/activerecord/test/cases/associations/extension_test.rb
index 4c1fdfdd9a..47dff7d0ea 100644
--- a/activerecord/test/cases/associations/extension_test.rb
+++ b/activerecord/test/cases/associations/extension_test.rb
@@ -75,7 +75,7 @@ class AssociationsExtensionsTest < ActiveRecord::TestCase
private
def extend!(model)
- builder = ActiveRecord::Associations::Builder::HasMany.new(model, :association_name, nil, {}) { }
+ builder = ActiveRecord::Associations::Builder::HasMany.new(:association_name, nil, {}) { }
builder.define_extensions(model)
end
end