Last active
May 10, 2017 04:49
-
-
Save shirts/ab568a65ac1f82abd15dd9f614d54b01 to your computer and use it in GitHub Desktop.
Active Support Helpers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# "In order to have a near-zero default footprint, Active Support does not | |
# load anything by default. It is broken in small pieces so that you can | |
# load just what you need, and also has some convenience entry points to | |
# load related extensions in one shot, even everything." | |
require 'active_support' | |
# https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/object/blank.rb | |
require 'active_support/core_ext/object/blank' | |
# https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/object/inclusion.rb | |
require 'active_support/core_ext/object/inclusion' | |
# https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/object/try.rb | |
# http://api.rubyonrails.org/classes/Object.html#method-i-try | |
require 'active_support/core_ext/object/try' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment