Association named error rails3


after this i got the error like this…

Association named ‘customers’ was not found; perhaps you misspelled
But the tables name is correct…

what about association definitions?

On 1 February 2012 12:56, amvis [email protected] wrote:“,customers.total_points”).includes(:customers).where(“”)

It may be that your include of customer needs to be singular:“,customers.total_points”).includes(:customer).where(“”)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs