Hard
Suppose the following query:
User.where(“email LIKE ‘%gmail.com%’“)
How to modify this query to avoid SQL injection?
Author: InconnuStatus: PublishedQuestion passed 84 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
1
Translate the string 'hello_world' to French in Rails1
Rails: The #create action raises an exception if the request parameters do not contain a :foo key.1
Use the I18n gem to translate a string, a date and a pluralized string in Rails1
How to execute Ruby code without displaying it.1
What are the columns of the users table in Rails?2
Create a Rails controller with a bar action and a value parameter.2
Create a user in Rails with a validation error