Created
June 17, 2013 08:58
-
-
Save rebyn/5795585 to your computer and use it in GitHub Desktop.
use Active Support in irb
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
Came across a case today in which I had to use a few Active Support's methods. Here's how: | |
$ irb | |
> require 'active_support' | |
> ActiveSupport::Inflector.singularize('inflections') | |
> ActiveSupport::Inflector.humanize('humanize_me') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment