Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

fix join on association #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix join on association #83

wants to merge 1 commit into from

Conversation

nbraem
Copy link

@nbraem nbraem commented Oct 17, 2012

The associations #{dimension}_rates and #{dimension}_raters need to be named with symbols instead of strings. If not, joining on them won't work (e.g. Model.joins(:dimension_rates) or Model.joins("dimension_rates") won't work).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant