Thanks very much for both of your assistance.  I think I've got a
handle on the immediate issue as a result.

On Apr 27, 8:09 am, Ar Chron <[email protected]> wrote:
> richardsugg wrote:
>
> > * show_general.html.erb # shows general information (remote access,
> > company name, active or not, etc)
>
> To keep things simple, show is just show... and can render the data you
> want to have constant across any variations - no need for a header
> partial there.  But a different partial per 'tab' works.
>
> For simplicity in v1.0, you might make those 'tabs' a row of hyperlinks
> back to the show method with a param that designates which partial to
> display for now.  Yes, it is a round-trip to refresh that data, but "I'm
> new to rails" means take things in bite-sized chunks.  Later
> (seriously... after you have things looking and behaving the way you
> want, and begin to grok the framework), you'll want to look into Ajax
> for that behavior.
>
> Rather than trying to design the whole 'grand scheme' now, pick one view
> of your set (let's pick the company contact) and get that form working.
> From there, you can tinker with layout until you have the header and
> menus you want and can start thinking about your partials to display
> different information.
>
> Once you get your first fork in display behavior done, it should be a
> piece of cake to add as many as you need to fill out the rest of the
> company views.
>
> From there, extend to other models, controllers, and joins.
>
> --
> Posted viahttp://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 
> athttp://groups.google.com/group/rubyonrails-talk?hl=en.

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