diff options
author | Jon Leighton <j@jonathanleighton.com> | 2010-10-19 14:56:59 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2010-10-19 14:56:59 +0100 |
commit | 9ff5fdeda99b3d8c5148d4c40956842518d1c788 (patch) | |
tree | cd7a1a16b3480837a51a48ced193ffde90725f24 | |
parent | 01838636c6136d9a649ace71db61bb7990f9bd82 (diff) | |
download | rails-9ff5fdeda99b3d8c5148d4c40956842518d1c788.tar.gz rails-9ff5fdeda99b3d8c5148d4c40956842518d1c788.tar.bz2 rails-9ff5fdeda99b3d8c5148d4c40956842518d1c788.zip |
Remove unused methods
-rw-r--r-- | activerecord/lib/active_record/reflection.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb index a46597e497..6078191773 100644 --- a/activerecord/lib/active_record/reflection.rb +++ b/activerecord/lib/active_record/reflection.rb @@ -266,9 +266,6 @@ module ActiveRecord [Array.wrap(options[:conditions])] end - def through_reflection_primary_key_name - end - def source_reflection nil end @@ -489,14 +486,6 @@ module ActiveRecord check_validity_of_inverse! end - def through_reflection_primary_key - through_reflection.belongs_to? ? through_reflection.klass.primary_key : through_reflection.primary_key_name - end - - def through_reflection_primary_key_name - through_reflection.primary_key_name if through_reflection.belongs_to? - end - private def derive_class_name # get the class_name of the belongs_to association of the through reflection |