From 2ccc2109b7af1d656df0972747ed3c0363528e06 Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Thu, 24 May 2012 08:51:32 -0700 Subject: [Guides] Add core_ext/object section --- guides/source/initialization.textile | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/guides/source/initialization.textile b/guides/source/initialization.textile index be33f795d3..add3f44b1c 100644 --- a/guides/source/initialization.textile +++ b/guides/source/initialization.textile @@ -687,7 +687,31 @@ This file is the next file required from +rails/configuration.rb+ is the file th The next file required is +active_support/core_ext/hash/deep_dup+ which is covered in "Active Support Core Extensions guide":active_support_core_extensions.html#deep_dup -The file that is required next from is +rails/paths+ +h4. +active_support/core_ext/object+ + +This file is responsible for requiring many more core extensions: + + +require 'active_support/core_ext/object/acts_like' +require 'active_support/core_ext/object/blank' +require 'active_support/core_ext/object/duplicable' +require 'active_support/core_ext/object/deep_dup' +require 'active_support/core_ext/object/try' +require 'active_support/core_ext/object/inclusion' + +require 'active_support/core_ext/object/conversions' +require 'active_support/core_ext/object/instance_variables' + +require 'active_support/core_ext/object/to_json' +require 'active_support/core_ext/object/to_param' +require 'active_support/core_ext/object/to_query' +require 'active_support/core_ext/object/with_options' + + +The Rails "api documentation":http://api.rubyonrails.org/ covers them in +great detail, so we're not going to explain each of them. + +The file that is required next from +rails/configuration+ is +rails/paths+ h4. +railties/lib/rails/paths.rb+ -- cgit v1.2.3