Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on May 13, 2012
  1. @carlosantoniodasilva

    Improve and cleanup a bit partial renderer

    carlosantoniodasilva authored
    * Remove template assignment: there is no need for this assignment,
      given we are rendering a collection with possibly different templates,
      and a second call to render (with the same instance) would behave
      differently if the template is set.
    * Remove segments array in favor of Array#map
    * Use local vars whenever possible
    * Cache local template keys, remove defaults from find_template
Something went wrong with that request. Please try again.