I have some code like this:
<% @events.each do |event| %>
But I get a deprecation warning: DEPRECATION WARNING: style block
are deprecated. Please use .
When I use <%= @events.each do |event| %>, there is some unwanted
that is being generated by @events.each. What do I have to do, to get it
working correctly and get no deprecation warning?