Rails SQL injection?

后端 未结 3 1252
长发绾君心
长发绾君心 2020-12-05 02:42

In Rails, when I want to find by a user given value and avoid SQL injection (escape apostrophes and the like) I can do something like this:

Post.all(:conditi         


        
3条回答
提交回复
热议问题