Permalink
Browse files

Fix tests on 1.9

  • Loading branch information...
1 parent 7f6779c commit b2d6fdae353be4fca41d7ac1839f30d9737162fd @jeremy jeremy committed Apr 23, 2009
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/float/rounding'
+
module ActionView
module Helpers #:nodoc:
# Provides methods for converting numbers into formatted strings.
@@ -1,7 +1,7 @@
begin
require 'active_support'
rescue LoadError
- activesupport_path = "#{File.dirname(__FILE__)}/../../activesupport/lib"
+ activesupport_path = "#{File.dirname(__FILE__)}/../../../activesupport/lib"
if File.directory?(activesupport_path)
$:.unshift activesupport_path
require 'active_support'
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/array/extract_options'
+
# Extends the class object with class and instance accessors for class attributes,
# just like the native attr* accessors for instance attributes.
#
@@ -1,4 +1,4 @@
-require 'active_support/core_ext/blank'
+require 'active_support/core_ext/object/blank'
class Class
def superclass_delegating_reader(*names)

0 comments on commit b2d6fda

Please sign in to comment.