Skip to content

Instantly share code, notes, and snippets.

@davetheninja
Created November 1, 2012 14:18
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 davetheninja/3993887 to your computer and use it in GitHub Desktop.
Save davetheninja/3993887 to your computer and use it in GitHub Desktop.
Address/Addresses Inflections
ActiveSupport::Inflector.inflections do |inflect|
inflect.singular 'address', 'address'
inflect.plural 'address', 'addresses'
inflect.singular 'addresses', 'address'
inflect.plural 'addresses', 'addresses'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment