Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Make it clear that require 'active_support' is required [ci-skip]

  • Loading branch information...
commit b090122e8bcbd6f70d0992ad9e38954a7a7a8886 1 parent c994e10
@chancancode chancancode authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 guides/source/
5 guides/source/
@@ -37,9 +37,10 @@ For every single method defined as a core extension this guide has a note that s
NOTE: Defined in `active_support/core_ext/object/blank.rb`.
-That means that this single call is enough:
+That means that you can require it like this:
+require 'active_support'
require 'active_support/core_ext/object/blank'
@@ -52,6 +53,7 @@ The next level is to simply load all extensions to `Object`. As a rule of thumb,
Thus, to load all extensions to `Object` (including `blank?`):
+require 'active_support'
require 'active_support/core_ext/object'
@@ -60,6 +62,7 @@ require 'active_support/core_ext/object'
You may prefer just to load all core extensions, there is a file for that:
+require 'active_support'
require 'active_support/core_ext'

0 comments on commit b090122

Please sign in to comment.
Something went wrong with that request. Please try again.