Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7

This commit is contained in:
Xavier Noria
2009-11-09 21:46:16 +01:00
parent b6598c683b
commit 329e7f4441
6 changed files with 7 additions and 37 deletions

View File

@@ -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.