diff options
Diffstat (limited to 'lib/active_relation/primitives/value.rb')
-rw-r--r-- | lib/active_relation/primitives/value.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/active_relation/primitives/value.rb b/lib/active_relation/primitives/value.rb index 6f251d442b..3fbe907324 100644 --- a/lib/active_relation/primitives/value.rb +++ b/lib/active_relation/primitives/value.rb @@ -23,5 +23,9 @@ module ActiveRelation def qualify self end + + def bind(relation) + Value.new(value, relation) + end end end
\ No newline at end of file |