aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2011-04-10 15:39:01 +0800
committerJosé Valim <jose.valim@gmail.com>2011-04-10 18:49:28 +0800
commitf6540211b5b9133c9f93c11655a04d613c237e67 (patch)
treefda530dfc1f19d834bd1a638f55366be267b76da /activerecord/lib
parent58594be680e8712c9e7352f184e15972d02cd4af (diff)
downloadrails-f6540211b5b9133c9f93c11655a04d613c237e67.tar.gz
rails-f6540211b5b9133c9f93c11655a04d613c237e67.tar.bz2
rails-f6540211b5b9133c9f93c11655a04d613c237e67.zip
Add :use_include option to allow user to explicitly use `Range#include?` method in Ruby 1.9
In Ruby 1.9 we're currently use `Range#cover?` to fix the performance problem. However, there might be the case that you want to use `Range#include?` instead. This patch will give you that option.
Diffstat (limited to 'activerecord/lib')
0 files changed, 0 insertions, 0 deletions