I just happened to encounter a problem with the ActiveSupport inflector in my Rails app. Here’s the problem: words that end in ess seem to be an issue. For example:
D’oh, where did that ending ‘s’ go?
Turns out that “Rails has a longstanding policy of not taking further inflector patches. Use an initializer in your application instead,” a quote from Mike Gunderloy. What exactly does this mean? Simple…
Within your Rails application, open the config/initializers/inflections.rb file and just add the following:
Hi, my name is Damien White. I'm a software architect with over 20 years of experience. I simply love coding! I have a driving passion for software development, and a thirst for knowledge that cannot be quenched. I enjoy writing Web and Mobile applications, and I'm happy to share what I know in my quest to learn as much as possible.