diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-04-06 02:18:42 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-04-06 02:18:42 +0000 |
commit | 9bc75fd007d56d818b8620569410a20aa92c9fc5 (patch) | |
tree | 750bf397569d4fdf20eb6285d68330b9efe91a56 /activerecord/lib/active_record/associations/has_one_through_association.rb | |
parent | f6b12c11cd3a6df8525dd16ec093ec473813489e (diff) | |
download | rails-9bc75fd007d56d818b8620569410a20aa92c9fc5.tar.gz rails-9bc75fd007d56d818b8620569410a20aa92c9fc5.tar.bz2 rails-9bc75fd007d56d818b8620569410a20aa92c9fc5.zip |
Remove duplicate code from associations. [Pratik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/associations/has_one_through_association.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/has_one_through_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/has_one_through_association.rb b/activerecord/lib/active_record/associations/has_one_through_association.rb index ecf9d8208d..c846956e1f 100644 --- a/activerecord/lib/active_record/associations/has_one_through_association.rb +++ b/activerecord/lib/active_record/associations/has_one_through_association.rb @@ -1,6 +1,6 @@ module ActiveRecord module Associations - class HasOneThroughAssociation < ActiveRecord::Associations::HasManyThroughAssociation + class HasOneThroughAssociation < HasManyThroughAssociation def create_through_record(new_value) #nodoc: klass = @reflection.through_reflection.klass |