Skip to content

Instantly share code, notes, and snippets.

@nickcharlton
Created September 11, 2014 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickcharlton/6969eb8685b24c7580d2 to your computer and use it in GitHub Desktop.
Save nickcharlton/6969eb8685b24c7580d2 to your computer and use it in GitHub Desktop.
ActiveSupport Pluralizes "cafe" as "caves".
[1] pry(main)> require 'active_support/inflector'
=> true
[2] pry(main)> "cafe".pluralize
=> "caves"
[3] pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment