diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-03-16 20:47:02 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-03-16 20:47:02 -0700 |
commit | 89b354bf97d0a981376d36f2f8a7ba6a87fe2aa8 (patch) | |
tree | 2e7fe3a9a814bc0ffacc48c50e0bc4d5de18bb0d /lib/active_relation/extensions/array.rb | |
parent | 9771b2f3a3fdb45517a132228a1129718acd2fac (diff) | |
download | rails-89b354bf97d0a981376d36f2f8a7ba6a87fe2aa8.tar.gz rails-89b354bf97d0a981376d36f2f8a7ba6a87fe2aa8.tar.bz2 rails-89b354bf97d0a981376d36f2f8a7ba6a87fe2aa8.zip |
added attribute.eq(nil)
- produces attribute IS NULL
Diffstat (limited to 'lib/active_relation/extensions/array.rb')
-rw-r--r-- | lib/active_relation/extensions/array.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_relation/extensions/array.rb b/lib/active_relation/extensions/array.rb index 2af5832707..793c06aad8 100644 --- a/lib/active_relation/extensions/array.rb +++ b/lib/active_relation/extensions/array.rb @@ -7,7 +7,7 @@ class Array "(" + collect { |e| e.to_sql(formatter) }.join(', ') + ")" end - def predicate_sql + def inclusion_predicate_sql "IN" end end
\ No newline at end of file |