Skip to content

Instantly share code, notes, and snippets.

@thbishop
Created December 8, 2009 21:02
Show Gist options
  • Save thbishop/251997 to your computer and use it in GitHub Desktop.
Save thbishop/251997 to your computer and use it in GitHub Desktop.
index 3207690..3ce624e 100644
--- a/lib/railroad/rails_framework.rb
+++ b/lib/railroad/rails_framework.rb
@@ -10,6 +10,10 @@ class RailsFramework
require "config/environment"
@name = 'Rails'
@migration_version = ActiveRecord::Migrator.current_version
+
+ ActiveSupport::Inflector.inflections do |inflect|
+ inflect.singular(/ess$/i, 'ess')
+ end
end
# is the given class a subclass of the application controller?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment