Issue with ht:t :source and foreign key

I’m having an issue when trying to use my hm:t relation. For some
reason it’s using the wrong foreign key in some situations but not
all. The following is the error as well as the models in question.

http://pastie.textmate.org/99753

I realize i could probably simplify this by making the join column
user_id rather then earner_id but i have a reason for this and I’m
also learning a lot more by trying to do it this way.

Thanks in advance for any help.

Koalemos wrote:

Thanks in advance for any help.
Looks like a bug:

http://dev.rubyonrails.org/ticket/5976


Michael W.

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