diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-02-16 19:42:19 -0800 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-02-16 19:42:19 -0800 |
commit | 49c2620bc63d4611db979b0a2151b3e080bb1acf (patch) | |
tree | 6eddbf64e6dc4c56e46f2ba81db3d04586f0934f /lib/active_relation/relations/alias.rb | |
parent | a2339b41746b92231dfbb15ab19d0f7e1aa2e69a (diff) | |
download | rails-49c2620bc63d4611db979b0a2151b3e080bb1acf.tar.gz rails-49c2620bc63d4611db979b0a2151b3e080bb1acf.tar.bz2 rails-49c2620bc63d4611db979b0a2151b3e080bb1acf.zip |
cleanup
Diffstat (limited to 'lib/active_relation/relations/alias.rb')
-rw-r--r-- | lib/active_relation/relations/alias.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_relation/relations/alias.rb b/lib/active_relation/relations/alias.rb index 5b45d9dce4..941a95c58e 100644 --- a/lib/active_relation/relations/alias.rb +++ b/lib/active_relation/relations/alias.rb @@ -3,7 +3,7 @@ module ActiveRelation attr_reader :alias def aliased_prefix_for(attribute) - @alias + self[attribute] and @alias end def initialize(relation, aliaz) |