Plugins - ERB trim mode
Add to favoritesThe plugin adds the ”%” to ERB trim_mode attribute. Once installed, the code in the ERB (rhtml) files can be written like this:
% array = (1..10).to_a
% array.each do |element|
<%= element %><br/>
% end
http://code.google.com/p/rails-erb-trim-mode/
http://rails-erb-trim-mode.googlecode.com/svn/trunk/erb_trim_mode/
Rails' (MIT)
View Extensions
