Using <%- ... -%> by default

Does anybody know how to make RoR to use <%- some_code -%> by default? I mean how to make RoR to delete all empty strings by default (without using <%- some_code -%>. Just usually using <% some code %>), that came to template from Ruby-insertions.

Sory for my English. Thanks.

Does anybody know how to make RoR to use <%- some_code -%> by
default? I mean how to make RoR to delete all empty strings by default (without using <%- some_code -%>. Just usually using <% some code %>), that
came to template from Ruby-insertions.

You can set ActionView::Base.erb_trim_mode. Possible values are here http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html#M000684

Fred