[Rails] Re: Modelling Foreign Keys

Arch Stanton d6veteran at gmail.com
Sat Apr 1 01:38:20 GMT 2006


So that cheat sheet raised some questions.  First it sounds like it is 
saying not to use has_many and belongs_to with foreign keys??

I guess what I want an example of is how to set my simple example up so 
that in the basica scaffold view I can edit/select the values for a 
property that is a foreign key.  So from the post view I want to 
select/assign the user.

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list