aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_relation/relations/rename.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/active_relation/relations/rename.rb')
-rw-r--r--lib/active_relation/relations/rename.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_relation/relations/rename.rb b/lib/active_relation/relations/rename.rb
index 8f28c94d52..c7b99c2127 100644
--- a/lib/active_relation/relations/rename.rb
+++ b/lib/active_relation/relations/rename.rb
@@ -1,7 +1,7 @@
module ActiveRelation
module Relations
class Rename < Compound
- attr_reader :relation, :schmattribute, :alias
+ attr_reader :schmattribute, :alias
def initialize(relation, renames)
@schmattribute, @alias = renames.shift