Forum: Ruby on Rails odd behavior with routes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
fmardini (Guest)
on 2007-06-27 02:21
(Received via mailing list)

I have been working with rails 6887 for a while now, and today i
decided to try things out with the latest and greatest, but things did
not  go so well.

user_connections_path(1) works correctly when i run the app (and in
the console with app.user_connections_path(1)), but test are failing
(throwing a RoutingError exception) when i run the tests.
After some investigation, the generate method in action_controller/
routing.rb is being called with :action => destroy when testing, but
with :action => index in app/console

any pointers would be really appreciated

This topic is locked and can not be replied to.