diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-02-11 23:17:45 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-02-11 23:17:45 -0800 |
commit | c910ac7554ad4989c8dd4e942fc14ae78eeddc3d (patch) | |
tree | 24727f05d7e8bcde9381f72b767cbc557edc0b30 /lib | |
parent | 0d70ce37e510c83d5fc42f88b04314f40d87fe96 (diff) | |
download | rails-c910ac7554ad4989c8dd4e942fc14ae78eeddc3d.tar.gz rails-c910ac7554ad4989c8dd4e942fc14ae78eeddc3d.tar.bz2 rails-c910ac7554ad4989c8dd4e942fc14ae78eeddc3d.zip |
removing unneccessary tests now that attribute lookup is so simple
Diffstat (limited to 'lib')
-rw-r--r-- | lib/active_relation/relations/join.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/active_relation/relations/join.rb b/lib/active_relation/relations/join.rb index 6d59ffcf39..ede8b272cb 100644 --- a/lib/active_relation/relations/join.rb +++ b/lib/active_relation/relations/join.rb @@ -28,7 +28,6 @@ module ActiveRelation end def prefix_for(attribute) - # test me (relation1[attribute] && relation1.aliased_prefix_for(attribute)) || (relation2[attribute] && relation2.aliased_prefix_for(attribute)) end |