I just saw a post on this a few days ago but I’ve been searching and
can’t find it again. I have a has_many, through relationship, but when
I try to :include the join table in a
Model.find(:all, :conditions => “join_table.column = something”,
:include => “join_table”)
the generated sql contains this where “grant_ownerships” is the join
table and “grants” is one of the tables it is joining.
LEFT OUTER JOIN grant_ownerships grant_ownerships_grants ON
grant_ownerships_grants.grant_id = grants.id
See how there are underscores where there should be periods?
Is there a fix for this?
Sorry for the repeat question.