# Route not found with auth\_generator

**URL:** <https://www.ruby-forum.com/t/route-not-found-with-auth-generator/129029>\
**Category:** Rails\
**Created:** [February 13, 2008, 5:26pm UTC](https://www.ruby-forum.com/t/route-not-found-with-auth-generator/129029 "2008-02-13T17:26:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tranquiliste](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Post date:** [February 13, 2008, 5:26pm UTC](https://www.ruby-forum.com/t/route-not-found-with-auth-generator/129029/1 "2008-02-13T17:26:27Z")

</div>

Hello I am quite new with rails and I am currently facing a problem  
with a no route found to match …  
Here is the context :

- I have installed auth\_generator to manage users & access
- when a user create an account or ask to reset his password, a mail  
is sent with a link to click like the one below  
[http://cvouslechef.alwaysdata.net/account/confirm/removed\_email\_address@domain.invalid,8f66c07c76814d214b3f01354d980da9e844bf07](http://cvouslechef.alwaysdata.net/account/confirm/removed_email_address@domain.invalid,8f66c07c76814d214b3f01354d980da9e844bf07)
- when the user clicks on this link he gets an application rails error  
and the log contains a message  
no route found to match account/confirm

The route.rb contains :  
ActionController::Routing::Routes.draw do |map|  
map.connect ‘’, :controller =\> “main”

# Route added for auth\_generator plugin

map.auth ‘account/:action/:id’,  
:controller =\> ‘auth’, :action =\> nil, :id =\> nil  
map.authadmin ‘accountadmin/:action/:id’,  
:controller =\> ‘authadmin’, :action =\> nil, :id =\> nil

# end of Route added for auth\_generator plugin

map.connect ‘:controller/service.wsdl’, :action =\> ‘wsdl’

# Install the default route as the lowest priority.

map.connect ‘:controller/:action/:id.:format’  
map.connect ‘:controller/:action/:id’

end

There must be something with me because I looked at the

---

<div class="post-metadata">

**Author:** ![tranquiliste](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Post date:** [February 13, 2008, 5:29pm UTC](https://www.ruby-forum.com/t/route-not-found-with-auth-generator/129029/2 "2008-02-13T17:29:59Z")

</div>

Sorry wrong manipulation.

I was saying that there must be something wrong with me, because I  
looke at the auth\_generator track and found no bug related to that and  
apparently it is working for other people.

If you want to experience the problem you can go to  
[http://cvouslechef.alwaysdata.net](http://cvouslechef.alwaysdata.net)

I am using rails 1.2.6 and auth\_generator 2.0.5

Thanks to give me some type to sort out this problem

---

<div class="post-metadata">

**Author:** ![tranquiliste](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Post date:** [February 15, 2008, 11:28pm UTC](https://www.ruby-forum.com/t/route-not-found-with-auth-generator/129029/3 "2008-02-15T23:28:54Z")

</div>

Hello again

apparently looking at the log I can see that I have another route  
error concerning also auth\_generator :  
no route found to match “/images/auth\_generator/spinner.gif” with  
{:method=\>:get}

I don’t know if this is related to the same issue but really any help  
to find a solution would be very appreciated because this is  
preventing me to kick off my site

Thanks again for your help

Nicolas
