+1  A: 

The problem is your routes file. You're not doing sessions restfully. So the <%form_for @user_session%> won't know how to create a url.

Adding map.resource: user_session to routes.rb should fix your problem.

You should read through the restful_authentication plugin's documentation.

EmFi
A: 

This looks like a bug in formtastic to me. I'm getting the same error with the route map.resource :user_session.

Formtastic should be posting to the singular route name, not the plural since user_session is a singular resource.

Don Park