Hi,

I have some code like this:
<% @events.each do |event| %>

But I get a deprecation warning: DEPRECATION WARNING: style block helpers 
are deprecated. Please use . 

When I use <%= @events.each do |event| %>, there is some unwanted output, 
that is being generated by @events.each. What do I have to do, to get it 
working correctly and get no deprecation warning?

Regards
sewid

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to