mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
Previously, render tag would check if a template responded to `:to_partial` before checking if its name was a string. As `is_a?(String)` instances are more common that `to_partial`, this commit reorders the conditional to follow the common path