check if the substring is present in the column of the record rails console code example
Example: check if the substring is present in the column of the record rails console
Topic.where("name like ?", "%apple%")
Topic.where("name like ?", "%apple%")