Edge rails and routes

I have a route that works under 1.1.2 but does not work under edge
rails.

route.wishlist ‘wishlist/:id’,
:action => ‘show_wishlist’,
:id => nil,
:requirements => {:id => /\d*/}

This worked great without an :id, but under edge rails when I call
wishlist_url with no parameters I get:

“Exception: can’t convert nil into String”

Alex W. wrote:

I have a route that works under 1.1.2 but does not work under edge
rails.

route.wishlist ‘wishlist/:id’,
:action => ‘show_wishlist’,
:id => nil,
:requirements => {:id => /\d*/}

This worked great without an :id, but under edge rails when I call
wishlist_url with no parameters I get:

“Exception: can’t convert nil into String”

yeah nevermind. It’s working on some pages, but not others. I clearly
have something more complex happening here.

Alex, in rails edge routing is highly experimental at the moment, they
just checked in the new improved version, be careful, the core is
using it’s full brainpower to make things go better, until then ymmv,

/r/r

On 6/7/06, Alex W. [email protected] wrote:

wishlist_url with no parameters I get:
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Rodney
http://www.pinupgeek.com
http://www.dutchrailers.org

Rodney R. wrote:

Alex, in rails edge routing is highly experimental at the moment, they
just checked in the new improved version, be careful, the core is
using it’s full brainpower to make things go better, until then ymmv,

Thanks for the heads up. Maybe I’ll roll back a few revisions.

This might help.
http://www.ryandaigle.com/articles/2006/06/01/whats-new-in-edge-rails-routing-refactored

On 6/7/06, Alex W. [email protected] wrote:

Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails