gocd/gocd — pull request #604 by arvindsv (2014-09-30 19:16:41+00:00)
Title: #000 - Fix inline ERB partials.

Fix the inline of partials done in the package step of Go (where render :partial => abc gets inlined into the place it is called.

Previously patterns of this format were supported:
<%= render :partial => ... %>
<%= render_json :partial => ... %>

Fixes are:

1. Handle 'render(:partial => ...)'.

2. Handle 'render_json(:partial => ...)'.

3. Handle '<%== render_json(:partial => ...)' since it is used by ERB of Rails 4.