# Edge rails and routes

**URL:** <https://www.ruby-forum.com/t/edge-rails-and-routes/62764>\
**Category:** Rails\
**Created:** [June 7, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/edge-rails-and-routes/62764 "2006-06-07T23:05:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 7, 2006, 11:05pm UTC](https://www.ruby-forum.com/t/edge-rails-and-routes/62764/1 "2006-06-07T23:05:48Z")

</div>

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”

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 7, 2006, 11:12pm UTC](https://www.ruby-forum.com/t/edge-rails-and-routes/62764/2 "2006-06-07T23:12:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 7, 2006, 11:30pm UTC](https://www.ruby-forum.com/t/edge-rails-and-routes/62764/3 "2006-06-07T23:30:00Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > wishlist\_url with no parameters I get:  
> > removed\_email\_address@domain.invalid  
> > [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
Rodney  
[http://www.pinupgeek.com](http://www.pinupgeek.com)  
[http://www.dutchrailers.org](http://www.dutchrailers.org)

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 8, 2006, 1:01am UTC](https://www.ruby-forum.com/t/edge-rails-and-routes/62764/4 "2006-06-08T01:01:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![squeegy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Post date:** [June 8, 2006, 3:36am UTC](https://www.ruby-forum.com/t/edge-rails-and-routes/62764/5 "2006-06-08T03:36:52Z")

</div>

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

On 6/7/06, Alex W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–
