Displaying 1 result from an estimated 1 matches for "left_col".
Did you mean:
get_col
2007 Jun 21
1
render :partial => :url - is it possible?
...to generate the data for the sidebar
components within each model, and not more-cleanly in a separate model
for the sidebar component itself.
What I am after is a system where I could create a separate model, view
and controller for each sidebar component and then call render :url =>
/sidebars/left_col/3
I''m assuming a similar approach would be used in AJAX, where you replace
a DIV with a HTML fragment generated on the server, but would want to
show the fragment as part of the original page without generating a
series of AJAX requests on page load.
Is this possible in rails, whats the...