Is there a way in ruby’s ERBs (e.g. in a rails view) to quit parsing the file before the end is reached? Something in the direction of ruby’s __END__.
Some Text
<%= ... %>
<% some_magic_quit_function %>
This will not be included in the result
I’ve tried return but it didn’t work properly.
no, but there’s the much more straightforward