[rspec-users] Routing error with webrat

Juanma Cervera lists at ruby-forum.com
Tue Dec 23 07:43:18 EST 2008


Thanks Matt.
You were right,
I have modified routes.rb with mapping root url but I did't understand 
why this is needed.

The create action in sessions controller is completely standar.
The sentence that is causing the error
  redirect_back_or_default('/')

is not using thr root_url.
I think this is a bug, but I don't know.

Cheers and many thanks.
Juanma Cervera.
-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list