diff options
Diffstat (limited to 'lib/arel/primitives')
-rw-r--r-- | lib/arel/primitives/value.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/arel/primitives/value.rb b/lib/arel/primitives/value.rb index 74baa06e5b..36a7fb7c71 100644 --- a/lib/arel/primitives/value.rb +++ b/lib/arel/primitives/value.rb @@ -16,5 +16,13 @@ module Arel def bind(relation) Value.new(value, relation) end + + def aggregation? + false + end + + def to_attribute + value + end end end |