Module | ActiveSupport::CoreExtensions::String::Inflections |
In: |
lib/active_support/core_ext/string/inflections.rb
|
Makes it possible to do "posts".singularize that returns "post" and "MegaCoolClass".underscore that returns "mega_cool_class".