Fix a compatibility issue with form_for as provided by other helper repl...

Fix a compatibility issue with form_for as provided by other helper replacement gems.