mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Missing or unneeded require extract_options
This commit is contained in:
parent
b0d4a20571
commit
9c1cd6b142
10 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
require 'active_support/core_ext/array/extract_options'
|
||||
require 'action_dispatch/middleware/stack'
|
||||
|
||||
module ActionController
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require 'active_support/core_ext/array/extract_options'
|
||||
require 'abstract_controller/collector'
|
||||
|
||||
module ActionController #:nodoc:
|
||||
|
|
|
@ -2,6 +2,7 @@ require 'active_support/core_ext/hash/except'
|
|||
require 'active_support/core_ext/hash/reverse_merge'
|
||||
require 'active_support/core_ext/hash/slice'
|
||||
require 'active_support/core_ext/enumerable'
|
||||
require 'active_support/core_ext/array/extract_options'
|
||||
require 'active_support/inflector'
|
||||
require 'action_dispatch/routing/redirection'
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ require 'thread_safe'
|
|||
require 'active_support/core_ext/object/to_query'
|
||||
require 'active_support/core_ext/hash/slice'
|
||||
require 'active_support/core_ext/module/remove_method'
|
||||
require 'active_support/core_ext/array/extract_options'
|
||||
require 'action_controller/metal/exceptions'
|
||||
|
||||
module ActionDispatch
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require 'active_support/core_ext/array/extract_options'
|
||||
|
||||
module ActionDispatch
|
||||
module Routing
|
||||
class RoutesProxy #:nodoc:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
require 'date'
|
||||
require 'action_view/helpers/tag_helper'
|
||||
require 'active_support/core_ext/array/extract_options'
|
||||
require 'active_support/core_ext/date/conversions'
|
||||
require 'active_support/core_ext/hash/slice'
|
||||
require 'active_support/core_ext/object/with_options'
|
||||
|
|
|
@ -8,7 +8,6 @@ require 'action_view/model_naming'
|
|||
require 'active_support/core_ext/class/attribute_accessors'
|
||||
require 'active_support/core_ext/hash/slice'
|
||||
require 'active_support/core_ext/string/output_safety'
|
||||
require 'active_support/core_ext/array/extract_options'
|
||||
require 'active_support/core_ext/string/inflections'
|
||||
|
||||
module ActionView
|
||||
|
|
|
@ -2,6 +2,7 @@ require 'cgi'
|
|||
require 'erb'
|
||||
require 'action_view/helpers/form_helper'
|
||||
require 'active_support/core_ext/string/output_safety'
|
||||
require 'active_support/core_ext/array/extract_options'
|
||||
require 'active_support/core_ext/array/wrap'
|
||||
|
||||
module ActionView
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
require 'abstract_unit'
|
||||
require 'rbconfig'
|
||||
require 'active_support/core_ext/array/extract_options'
|
||||
|
||||
# The view_paths array must be set on Base and not LayoutTest so that LayoutTest's inherited
|
||||
# method has access to the view_paths array when looking for a layout to automatically assign.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
require 'abstract_unit'
|
||||
require 'active_support/core_ext/object/try'
|
||||
require 'active_support/core_ext/object/with_options'
|
||||
require 'active_support/core_ext/array/extract_options'
|
||||
|
||||
class ResourcesTest < ActionController::TestCase
|
||||
def test_default_restful_routes
|
||||
|
|
Loading…
Reference in a new issue