From 3a994b9949daccc2a64d08234af22fda78e49a17 Mon Sep 17 00:00:00 2001 From: Ernie Miller Date: Wed, 29 Sep 2010 15:43:51 -0400 Subject: Add support for remaining *_any/*_all attribute methods, and add matches/does_not_match/not_in --- lib/arel/nodes/does_not_match.rb | 6 ++++++ lib/arel/nodes/matches.rb | 6 ++++++ lib/arel/nodes/not_in.rb | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 lib/arel/nodes/does_not_match.rb create mode 100644 lib/arel/nodes/matches.rb create mode 100644 lib/arel/nodes/not_in.rb (limited to 'lib/arel/nodes') 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 -- cgit v1.2.3