search for: url_escap

Displaying 2 results from an estimated 2 matches for "url_escap".

Did you mean: url_escape
2006 Feb 09
1
How to use url_escape in controller?
I know one can use <%=u "a string" %> to use the url_escape function in ROR and convert "a string" to "a%20string" I tried using url_escape and u in my controller but none of them work and I get a function unknown error. Can anyone please guide me as to how I can use the url escape function in my controller? I appreciate...
2009 May 04
6
cucumber - when to stub/mock
I''m just curious about this, since my solution involved stubbing a call to GeoIp. Is there a good rule of thumb for when you make exceptions to the ''no stubbing'' philosophy of Cucumber? My step was: "Given I am accessing the site from Japan," but I can think of other situations - mostly when interacting with web services, that I''d probably