mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user