On Aug 12, 1:03 pm, bingo bob <[email protected]>
wrote:
> Hi Fred,
>
> I mean lines 196 / 197 in the pastie herehttp://pastie.org/581103- re
> the migration that sets up the join table.
>
> Do you see what I'm trying to achieve? The serial_number field is unique
> and each resort has one.
I've realised what you're trying to do - you want the columns in the
join tables to refer to a column other than the id column in the
parent tables. I'm not sure habtm supports that.
Fred
>
> bb
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---