diff options
author | Prem Sichanugrist <s@sikachu.com> | 2011-04-10 15:39:01 +0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-04-10 18:49:28 +0800 |
commit | f6540211b5b9133c9f93c11655a04d613c237e67 (patch) | |
tree | fda530dfc1f19d834bd1a638f55366be267b76da /activerecord/lib/active_record/schema_dumper.rb | |
parent | 58594be680e8712c9e7352f184e15972d02cd4af (diff) | |
download | rails-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/active_record/schema_dumper.rb')
0 files changed, 0 insertions, 0 deletions