aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes
diff options
context:
space:
mode:
authorJames Le Cuirot <james.le-cuirot@yakara.com>2014-03-07 13:15:33 +0000
committerJames Le Cuirot <chewi@aura-online.co.uk>2014-04-08 00:39:25 +0100
commit6296617c159d5cee0ba1c76f4ea983e3b5e26b6b (patch)
treefc0ceff2fbf84ef1a1e2214f6fe50844edac882a /lib/arel/nodes
parent7515445966b265dd9e90ce4457bff972e1fc3746 (diff)
downloadrails-6296617c159d5cee0ba1c76f4ea983e3b5e26b6b.tar.gz
rails-6296617c159d5cee0ba1c76f4ea983e3b5e26b6b.tar.bz2
rails-6296617c159d5cee0ba1c76f4ea983e3b5e26b6b.zip
Add Regexp and NotRegexp nodes for PostgreSQL
Diffstat (limited to 'lib/arel/nodes')
-rw-r--r--lib/arel/nodes/binary.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/arel/nodes/binary.rb b/lib/arel/nodes/binary.rb
index 0e7e281b4b..939684957f 100644
--- a/lib/arel/nodes/binary.rb
+++ b/lib/arel/nodes/binary.rb
@@ -40,7 +40,9 @@ module Arel
Matches
NotEqual
NotIn
+ NotRegexp
Or
+ Regexp
Union
UnionAll
Intersect