Forum: Ruby on Rails url_for and capitalization..

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Fddbb3cd16868f4741c2e86ef015a639?d=identicon&s=25 Sergio T. Ruiz (sergio101)
on 2007-05-11 16: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.