Thanks @Marnen.

I think my issue was solved by the simple example here: 
http://vhochstein.wordpress.com/2010/08/28/setupactivescaffoldrails3/#comments

What I was trying to do with partials is that I have an "items" and 
"itemdetails" tables, and "items" "has_many" "itemdetails", and wanted 
the "itemdetails" to be AT THE SAME page of the "item", since for each 
item, there are different "itemdetails".

And, my issue was solved when I inserted a column in "itemdetails", 
namley, "item" and gave it the type "references" as follows:

item:references

I think it acts like a foreign key, and is the same as saying:

item_id:integer

in ordinary Rails, doesn't it?

-- 
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