aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-27 21:14:40 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-27 21:14:40 -0700
commitef719e021dffe03f06f8d0e34c298474d944838d (patch)
tree3a699374b5ec9d668bb4b9e2d35b8b642ee04d06
parentc47c3ff918f00e26926fca574614f1bd56c7dcfd (diff)
downloadrails-ef719e021dffe03f06f8d0e34c298474d944838d.tar.gz
rails-ef719e021dffe03f06f8d0e34c298474d944838d.tar.bz2
rails-ef719e021dffe03f06f8d0e34c298474d944838d.zip
cleaning up code formatting
-rw-r--r--lib/arel/algebra/attributes/attribute.rb5
1 files changed, 4 insertions, 1 deletions
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 @@ module Arel
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