Forum: Ruby on Rails Newbie Q: HOW TO: make a partial containing tabs

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Eric S. (Guest)
on 2005-12-20 01:31
(Received via mailing list)
Hi Listers,
I'm wondering about the possibility of creating a tabbed partial (or set
of partials) dependant on a parent-children structure. For example;

I have a parent JOB - job has many sons (Ooops wrong story). JOB
contains CONTACTS, NOTES, STATISTICS, WORKFLOW, etc.. I want to show the
general JOB data at the top of my screen, then below that load a set of
tabs containing the other functionality. Is this feasible? If so, has
anyone  any tips on how to go about it?
Kind Regards,
Gerard (Guest)
on 2005-12-20 14:33
(Received via mailing list)
Hi Eric,

I am a RoR newbie, but I have a, IMHO, important question. How do you
construct the tabbed pages. I'm can see a 2-level menustructure like

Are the objects all in one page or does a new page get opened when
another tab as in the example above?

Because that would result in a different query per tab (tab equals



On Tuesday 20 December 2005 00:28, Eric S. tried to type something
> Eric.
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid

"Who cares if it doesn't do anything?  It was made with our new
Triple-Iso-Bifurcated-Krypton-Gate-MOS process ..."

My $Grtz =~ Gerard;
This topic is locked and can not be replied to.