mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix tests on 1.9
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user