Forum: Ruby on Rails url_for and capitalization..

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sergio T. R. (Guest)
on 2007-05-11 18:50
i am having a very weird problem with url_for..

i have been using this for several version of rails, but recently, i had
a problem..

it seems as though url_for is causing the results to be returned in
lower case..

if there are uppercase letters in the arguments, they result is all
lower case. obviously, this is a problem as the urls don't work anymore.

the other oddity is that when i tried to test it, using the console, i
get the following error:

>> url_for(:controller => 'site')
NoMethodError: undefined method `url_for' for #<Object:0x1de968>
        from (irb):28
        from :0

anyone have any ideas?
This topic is locked and can not be replied to.