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?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---