diff options
author | Xavier Noria <fxn@hashref.com> | 2009-11-09 21:46:16 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2009-11-09 22:16:51 +0100 |
commit | 329e7f44417c00a8d6fee337c288a463e9d64346 (patch) | |
tree | 0fb81a154cad7a0315aa046b25d01cbfebef8376 /activerecord/lib/active_record | |
parent | b6598c683bb8f8ef484f54755cced77a5d6200bb (diff) | |
download | rails-329e7f44417c00a8d6fee337c288a463e9d64346.tar.gz rails-329e7f44417c00a8d6fee337c288a463e9d64346.tar.bz2 rails-329e7f44417c00a8d6fee337c288a463e9d64346.zip |
Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index 0365cb592f..e8a2a72735 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -1,5 +1,3 @@ -require 'active_support/core_ext/integer/even_odd' - module ActiveRecord # Raised by <tt>save!</tt> and <tt>create!</tt> when the record is invalid. Use the # +record+ method to retrieve the record which did not validate. |