Re: [Rails] root_path and root_url undefined

2009-12-02 Thread Matt Harrison
Darian Shimy wrote: Not sure what is the issue is, I am running 2.3.4 and it works fine. I do have he map.root as the first entry although I don't think that will matter. Thanks for the reply Darian, I also have map.root as the first (uncommented) entry. Can you send your routes.rb file?

Re: [Rails] root_path and root_url undefined

2009-12-02 Thread Dhruva Sagar
Are you sure you restarted your server after introducing the map.root mapping ? Thanks Regards, Dhruva Sagar. On Wed, Dec 2, 2009 at 2:13 PM, Matt Harrison iwasinnamuk...@genestate.comwrote: Darian Shimy wrote: Not sure what is the issue is, I am running 2.3.4 and it works fine. I do

Re: [Rails] root_path and root_url undefined

2009-12-02 Thread Satyajit Malugu
Also you try *rake routes * to see all your routes. On Wed, Dec 2, 2009 at 12:46 AM, Dhruva Sagar dhruva.sa...@gmail.comwrote: Are you sure you restarted your server after introducing the map.root mapping ? Thanks Regards, Dhruva Sagar. On Wed, Dec 2, 2009 at 2:13 PM, Matt Harrison

Re: [Rails] root_path and root_url undefined

2009-12-02 Thread Matt Harrison
Satyajit Malugu wrote: Also you try *rake routes * to see all your routes. root appears as the first route in the list, and it looks properly formed: http://pastie.org/723163 On Wed, Dec 2, 2009 at 12:46 AM, Dhruva Sagar dhruva.sa...@gmail.comwrote: Are you sure you restarted your server

[Rails] root_path and root_url undefined

2009-12-01 Thread Matt Harrison
Hi all, I've just started working on another RoR project after a couple of months away. I'm having trouble with named routes, specifically root_* In previous apps I've used root_path and root_url without any problems, but in this project (2.3.2 - the same as my last project where I used it) it

Re: [Rails] root_path and root_url undefined

2009-12-01 Thread Darian Shimy
Not sure what is the issue is, I am running 2.3.4 and it works fine. I do have he map.root as the first entry although I don't think that will matter. Can you send your routes.rb file? Darian Shimy -- http://www.darianshimy.com http://twitter.com/dshimy On Tue, Dec 1, 2009 at 5:41 PM, Matt