diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-06 03:07:37 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-12-06 03:07:37 -0800 |
commit | 5a8b4b462f2e1c55ba492afe1e14e4ed7fcfd40d (patch) | |
tree | 39309c7ae8ae8ff14d1936a575308d1827e11c00 /lib/arel | |
parent | f2e8ef94ff74575389e5aba58cc08a10781aa91c (diff) | |
parent | 6f8a16ae333fca8ae9e3f497a32264d23ca21137 (diff) | |
download | rails-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.
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 4 |
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: |