[Rails] Re: shared primary key (using the primary key as a foreign key for has_one association)
On Thursday, 16 May 2013 16:44:20 UTC-4, Ruby-Forum.com User wrote:
My experimental application where i use shared primary/foreign key is
still in experimental phase. It mostly works, but i had to use
workarounds for saving/updating objects associated through shared
primary/foreign key (i do not want to look trough the details now). I
still think that a natural database structure (the one that looks
natural to me) is more important that Rails conventions.
Sure, because you TOTALLY know more about database best practices than everybody else...
--Matt Jones
-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/51eeb60c-31d7-4053-8721-dc1462f1f301%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home