fixes deprecation warning on form_for tag