aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/helper.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-05-24 05:30:26 -0700
committerSean Griffin <sean@thoughtbot.com>2014-05-27 05:42:45 -0700
commit6b46106d65c749d4eba304b753f9a70ede6ed5d9 (patch)
tree6bb4c4d823b5dc30445b2ce8c6ba948a2a5a685e /activerecord/test/cases/helper.rb
parent7f1e5504ab3770aef51f55c7d32ebc699bd8947d (diff)
downloadrails-6b46106d65c749d4eba304b753f9a70ede6ed5d9.tar.gz
rails-6b46106d65c749d4eba304b753f9a70ede6ed5d9.tar.bz2
rails-6b46106d65c749d4eba304b753f9a70ede6ed5d9.zip
Deprecate decimal columns being automatically treated as integers
With ActiveRecord::Properties, we now have a reasonable path for users to continue to keep this behavior if they want it. This is an edge case that has added a lot of complexity to the code base.
Diffstat (limited to 'activerecord/test/cases/helper.rb')
-rw-r--r--activerecord/test/cases/helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb
index eaf2cada9d..937646b09a 100644
--- a/activerecord/test/cases/helper.rb
+++ b/activerecord/test/cases/helper.rb
@@ -9,6 +9,7 @@ require 'active_record'
require 'cases/test_case'
require 'active_support/dependencies'
require 'active_support/logger'
+require 'active_support/core_ext/string/strip'
require 'support/config'
require 'support/connection'