Posts by Alexandre Magro • 111 points
1 post
-
1
votes1
answer69
viewsA: Map Substring Solr
If you are using an SQL Database, you can use wildcards: query = "CASCA" City.where("name like ?", "%#{query}%") *This way, the framework already treats problems like SQL Injection…