Sunday, October 9, 2011

Re: [Rails] inflections problem - rails 3.1.1

On 10 October 2011 04:59, slava <mikerin.slava@gmail.com> wrote:
> 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

So your singular for "trade terms" is TradeTerms, and your plural is
TradeTerms too? Don't you think that *might* be a bad idea? Can the
singular not be TradeTerm?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate