SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the lower function:
lower
Guide.where("lower(title)='attack'")
As a comment: Work on your question. The title isn't terribly informative, and you drop a big chunk of code at the end that is irrelevant to your question.