aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/attributes
diff options
context:
space:
mode:
authorErnie Miller <ernie@metautonomo.us>2011-04-29 13:36:22 -0400
committerAaron Patterson <aaron.patterson@gmail.com>2011-04-29 11:13:41 -0700
commit7361b6cbd5e4c6f03198ed42eed4e3dd4feb149e (patch)
treefdc15b45bcc57407e7192ba2e9db537ad871b94e /lib/arel/attributes
parentd09a882329e8eeebac89e907289c537077f81d44 (diff)
downloadrails-7361b6cbd5e4c6f03198ed42eed4e3dd4feb149e.tar.gz
rails-7361b6cbd5e4c6f03198ed42eed4e3dd4feb149e.tar.bz2
rails-7361b6cbd5e4c6f03198ed42eed4e3dd4feb149e.zip
Move #as to AliasPredication, stop overriding Function's #as.
Diffstat (limited to 'lib/arel/attributes')
-rw-r--r--lib/arel/attributes/attribute.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/attributes/attribute.rb b/lib/arel/attributes/attribute.rb
index b9fd8da67e..0906fa4f1d 100644
--- a/lib/arel/attributes/attribute.rb
+++ b/lib/arel/attributes/attribute.rb
@@ -3,6 +3,7 @@ module Arel
class Attribute < Struct.new :relation, :name
include Arel::Expressions
include Arel::Predications
+ include Arel::AliasPredication
include Arel::OrderPredications
include Arel::Math