You can customize the rail finder. To do this, your application must have an initialization file: config/initializers/inflections.rb
Then you can add the βtrainβ rails challenge to the new rule:
ActiveSupport::Inflector.inflections do |inflect| inflect.irregular 'tooth', 'teeth' end
After restarting the server / console, a new pluralization should be in place.
source share