Upgrade to the lastest rails (for starters - unless for some reason you 
cannot)..  2.3.2

All tables are created with an id field so never use that.  If you want 
to create a foreign key that is going to be used by multiple tables you 
could use something like webblog_id if the webblog_id is going to be the 
foreign key used to link existing tables.



-- 
Posted via http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to