aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-06 03:07:37 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-12-06 03:07:37 -0800
commit5a8b4b462f2e1c55ba492afe1e14e4ed7fcfd40d (patch)
tree39309c7ae8ae8ff14d1936a575308d1827e11c00
parentf2e8ef94ff74575389e5aba58cc08a10781aa91c (diff)
parent6f8a16ae333fca8ae9e3f497a32264d23ca21137 (diff)
downloadrails-5a8b4b462f2e1c55ba492afe1e14e4ed7fcfd40d.tar.gz
rails-5a8b4b462f2e1c55ba492afe1e14e4ed7fcfd40d.tar.bz2
rails-5a8b4b462f2e1c55ba492afe1e14e4ed7fcfd40d.zip
Merge pull request #226 from dogweather/master
Documented the case-insensitive nature of the match feature.
-rw-r--r--lib/arel/visitors/to_sql.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb
index 1d8cd35806..554f98da14 100644
--- a/lib/arel/visitors/to_sql.rb
+++ b/lib/arel/visitors/to_sql.rb
@@ -42,6 +42,10 @@ module Arel
# `getconstant` should be a hash lookup, and no object is duped when the
# value of the constant is pushed on the stack. Hence the crazy
# constants below.
+ #
+ # `matches` and `doesNotMatch` operate case-insensitively via Visitor subclasses
+ # specialized for specific databases when necessary.
+ #
WHERE = ' WHERE ' # :nodoc:
SPACE = ' ' # :nodoc: