On Jul 14, 8:21 pm, miga <[email protected]> wrote:
> Hello,
>
> [quote]
> Create a single partial called _editable.html.erb from the two
> partials, _editable_body.html.erb and _editable_title.html.erb
> partials
> [/quote]
>
> Is the purpose of the homework to call a cascade of render partials?
>
> (I have absolute no idea how it can be done, any direction would be
> greatly appreciated).
Never mind. I've found a way to do it, though it does not seem to
impact significantly the time spent in rendering the views.

Hence the question arises: is it really worth the trouble to do
cascading partials? And if yes, in which cases? (apart from the
satisfaction (sic!) of writing DRY code).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to