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
Post a Comment