views:

24

answers:

2

Two apologies in advance. One for trying to fight rails defaults, another for the example in the title, which I think sums up my question better than I can otherwise. Any way to do what I want without having the world collapse on itself? I got as far as putting a to_param in my model, but that doesn't quite go all the way.

+1  A: 

If you haven't read it already, this excellent guide should provide you with all you need for custom routing.

JRL
A: 

The full explanation is quite long. I wrote an article some months ago, focused on Authlogic. You can easily adapt it to your needs.

User profile permalinks with Ruby on Rails (and Authlogic).

Simone Carletti