diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-18 13:20:04 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-18 13:20:04 -0700 |
commit | a69b28a8b10fdcbb6801051e3086228b56891dbb (patch) | |
tree | 8ae446d9c4c753688ee4d03051d771d0d8a2ae04 | |
parent | 37453e11e9c071f9bdec47b073939fd34402127d (diff) | |
download | rails-a69b28a8b10fdcbb6801051e3086228b56891dbb.tar.gz rails-a69b28a8b10fdcbb6801051e3086228b56891dbb.tar.bz2 rails-a69b28a8b10fdcbb6801051e3086228b56891dbb.zip |
Missing 1.8.7 backport extensions
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 1 | ||||
-rw-r--r-- | activerecord/lib/active_record/validations.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index ca4f4fa6b6..e8e1746b4b 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -9,6 +9,7 @@ require 'active_support/core_ext/hash/deep_merge' require 'active_support/core_ext/hash/indifferent_access' require 'active_support/core_ext/hash/slice' require 'active_support/core_ext/string/behavior' +require 'active_support/core_ext/symbol' require 'active_support/core/time' module ActiveRecord #:nodoc: diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index b6e848fa79..a18fb3f426 100644 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -1,3 +1,5 @@ +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. |