ruby on rails - nomethoderror for rack::utils::escape -


I'm new to railing, so I apologize for my ignorance

Continuing to install a class outside:

  PARAM = {# ... = & gt; ... 'field' = & gt; Escape ('some with / slash')}  

and get a node method: Undefined method 'escape'

I tried the rack: Utils :: Escape And rack ::

P> You can use CGI.escape You can.

  # lib / my_foo class MyFoo Things = {: hi = & gt; CGI.SPEP ("OK hello, there.")}  

If this rail is carried out outside the environment, you will need of "cgi" Also in form


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -