How do I do a LIKE % query in ActiveRecord?
MyModel.where("description LIKE (?)", "%#{keyword}%")
like_keyword = "%#{keyword}%"
MyModel.where("description LIKE ?", like_keyword)
MyModel.where("description LIKE (?)", "%#{keyword}%")
like_keyword = "%#{keyword}%"
MyModel.where("description LIKE ?", like_keyword)