After upgrading to Rails 3.1.1 I am getting an error related to inflections for a model - TradeTerms This model has same name for singular and plural tenses, but this is now not recognized and I get error: uninitialized constant TradeTerm
I tried messing around with initializer for inflections and set rules (not sure which one is the one to use), but it made no difference anyway and I still get the same error.. ActiveSupport::Inflector.inflections do |inflect| inflect.singular 'trade_terms', 'trade_terms' inflect.plural 'trade_terms', 'trade_terms' inflect.irregular 'trade_terms', 'trade_terms' end -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.