aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/attributes
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-16 14:42:20 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-16 14:42:20 -0700
commitd12580a7ee43dad449a1da208ec60c70c183d7ee (patch)
tree6272dfdc786d0705eb86e452fe80f46a020ef503 /lib/arel/attributes
parentbd3ecd761e7b52eabf32efe2f5c4ad722423a623 (diff)
downloadrails-d12580a7ee43dad449a1da208ec60c70c183d7ee.tar.gz
rails-d12580a7ee43dad449a1da208ec60c70c183d7ee.tar.bz2
rails-d12580a7ee43dad449a1da208ec60c70c183d7ee.zip
spec:v1:sqlite3 works for running our specs
Diffstat (limited to 'lib/arel/attributes')
-rw-r--r--lib/arel/attributes/attribute.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/attributes/attribute.rb b/lib/arel/attributes/attribute.rb
index fdc64d62e0..ff17d6136c 100644
--- a/lib/arel/attributes/attribute.rb
+++ b/lib/arel/attributes/attribute.rb
@@ -4,6 +4,10 @@ module Arel
def eq other
Nodes::Equality.new self, other
end
+
+ def in other
+ Nodes::In.new self, other
+ end
end
class String < Attribute; end