From ef719e021dffe03f06f8d0e34c298474d944838d Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 27 Jul 2010 21:14:40 -0700 Subject: [PATCH] cleaning up code formatting --- lib/arel/algebra/attributes/attribute.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/arel/algebra/attributes/attribute.rb b/lib/arel/algebra/attributes/attribute.rb index 317b7e79f1..351e553877 100644 --- a/lib/arel/algebra/attributes/attribute.rb +++ b/lib/arel/algebra/attributes/attribute.rb @@ -6,7 +6,10 @@ class Attribute attr_reader :relation, :name, :alias, :ancestor def initialize(relation, name, options = {}) - @relation, @name, @alias, @ancestor = relation, name, options[:alias], options[:ancestor] + @relation = relation # this is actually a table (I think) + @name = name + @alias = options[:alias] + @ancestor = options[:ancestor] end def engine -- GitLab