diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 13:39:37 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 13:39:37 -0700 |
commit | c8f83d61a113ae3c01005d2ac02e4c17891d918c (patch) | |
tree | 1cdd7fef7be6274731dc89569df52a600c4841e0 /lib/arel/nodes | |
parent | 5ec2fac114b1c70fe7ac87f4767b6f1cbc1e78fc (diff) | |
parent | 5ca0c9a45788a14b9f454c93cd24fb0ae12a896b (diff) | |
download | rails-c8f83d61a113ae3c01005d2ac02e4c17891d918c.tar.gz rails-c8f83d61a113ae3c01005d2ac02e4c17891d918c.tar.bz2 rails-c8f83d61a113ae3c01005d2ac02e4c17891d918c.zip |
Merge remote branch 'ernie/master'
* ernie/master:
Make PostgreSQL play nice with its friends. (matches -> ILIKE instead of LIKE)
Add support for remaining *_any/*_all attribute methods, and add matches/does_not_match/not_in
Add eq_any.
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r-- | lib/arel/nodes/does_not_match.rb | 6 | ||||
-rw-r--r-- | lib/arel/nodes/matches.rb | 6 | ||||
-rw-r--r-- | lib/arel/nodes/not_in.rb | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/lib/arel/nodes/does_not_match.rb b/lib/arel/nodes/does_not_match.rb new file mode 100644 index 0000000000..b5693df711 --- /dev/null +++ b/lib/arel/nodes/does_not_match.rb @@ -0,0 +1,6 @@ +module Arel + module Nodes + class DoesNotMatch < Binary + end + end +end diff --git a/lib/arel/nodes/matches.rb b/lib/arel/nodes/matches.rb new file mode 100644 index 0000000000..4b9fd34ad1 --- /dev/null +++ b/lib/arel/nodes/matches.rb @@ -0,0 +1,6 @@ +module Arel + module Nodes + class Matches < Binary + end + end +end diff --git a/lib/arel/nodes/not_in.rb b/lib/arel/nodes/not_in.rb new file mode 100644 index 0000000000..6cb2c6f832 --- /dev/null +++ b/lib/arel/nodes/not_in.rb @@ -0,0 +1,6 @@ +module Arel + module Nodes + class NotIn < Binary + end + end +end |