1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib
Prem Sichanugrist f6540211b5 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.
2011-04-10 18:49:28 +08:00
..
active_model Add :use_include option to allow user to explicitly use Range#include? method in Ruby 1.9 2011-04-10 18:49:28 +08:00
active_model.rb We're in 2011, let's update our license 2011-02-22 18:24:20 -02:00