Skip to content

Commit

Permalink
Update app/furniture/tobias.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
zspencer committed Feb 13, 2024
1 parent 9b51960 commit fd8fcef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/furniture/tobias.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Tobias < Furniture
end

# TOBIAS is hard to pluralize... Rails presumed TOBIAS was plural,
# So this tells Rails that TOBIAS is the plural form, and that TOBIASes
# So this tells Rails that TOBIAS is the singular form, and that TOBIASes
# is the plural.
ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.plural(/^(tobias)$/i, '\1\2es')
Expand Down

0 comments on commit fd8fcef

Please sign in to comment.