postgresql - Rails 3.1 - escaping user's input -
postgresql - Rails 3.1 - escaping user's input -
good day everyone!
how can escape string of user's input search form which'll utilize in sql query? in controller.
for example, this:
time 10:15 pm. should this:
time 10\:15 pm. note: search in db (postgresql) gem (texticle).
erb::util.html_escape give total explanation :)
ruby-on-rails-3 postgresql ruby-on-rails-3.1 escaping
Comments
Post a Comment