Does this method protect us against SQL injection?
Advertisement
Answer
Yes, it did. We can see the documentation for evidence: https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/Quoting.html#method-i-quote
Does this method protect us against SQL injection?
Yes, it did. We can see the documentation for evidence: https://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/Quoting.html#method-i-quote