Is there a reason you actively don’t want to have a primary key in
your join tables? Even in cases where you only expect a one to one
relationship (example: husband to wife) it doesn’t hurt to have a
primary key, and if your assumptions don’t hold true (say you take on
some polygamous users) you’ll have a mess to clean up.
I’ve got the same troubles as you on creating new records on tables
without sequences.
Could you, please, tell me that is the solution that you’ve found?
Thank you in advance.
ag
CSN wrote:
Got everything working :).
csn
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.