aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-05-18 13:20:04 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-05-18 13:20:04 -0700
commita69b28a8b10fdcbb6801051e3086228b56891dbb (patch)
tree8ae446d9c4c753688ee4d03051d771d0d8a2ae04 /activerecord/lib
parent37453e11e9c071f9bdec47b073939fd34402127d (diff)
downloadrails-a69b28a8b10fdcbb6801051e3086228b56891dbb.tar.gz
rails-a69b28a8b10fdcbb6801051e3086228b56891dbb.tar.bz2
rails-a69b28a8b10fdcbb6801051e3086228b56891dbb.zip
Missing 1.8.7 backport extensions
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-xactiverecord/lib/active_record/base.rb1
-rw-r--r--activerecord/lib/active_record/validations.rb2
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.