Hello everyone, I am using Rails 3 and receiving an deprecation warning when running the specs of my app. The warning:
****..*F.DEPRECATION WARNING: <% %> style block helpers are deprecated. Please use <%= %>. (called from _app_views_sessions_new_html_erb___526016660_85924870_644960759 at / home/orygens/code/narciso/app/views/sessions/new.html.erb:9) .F.F......*. This message is about the following code: <% form_tag 'sessions' do %> <p><%= image_submit_tag 'login.png', :class => 'login' %></p> <% end %> This logs in the user who remains at the same path after the login. Do you know how to correct the code so I can ensure this code won't break my app in the future? Thanks! -- 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.

