I wrote a long answer about hour ago but i have a new phone and i
think i didnt send it .
Activescaffold is a rails app in it self it only uses your model, if
you go to the vendor/plugin folder you will see it sitting there it
has its own controllers and views , thats why your app is empty and
thats why i dont recommend it because is going to confuse you.
Active scaffold is used only in the admin section of the app.
Watch the railscast about inherited_resources at railscasts.com
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
I think my issue was solved by the simple example here:
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: