diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-27 21:14:40 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-27 21:14:40 -0700 |
commit | ef719e021dffe03f06f8d0e34c298474d944838d (patch) | |
tree | 3a699374b5ec9d668bb4b9e2d35b8b642ee04d06 /lib/arel/algebra | |
parent | c47c3ff918f00e26926fca574614f1bd56c7dcfd (diff) | |
download | rails-ef719e021dffe03f06f8d0e34c298474d944838d.tar.gz rails-ef719e021dffe03f06f8d0e34c298474d944838d.tar.bz2 rails-ef719e021dffe03f06f8d0e34c298474d944838d.zip |
cleaning up code formatting
Diffstat (limited to 'lib/arel/algebra')
-rw-r--r-- | lib/arel/algebra/attributes/attribute.rb | 5 |
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 |