RailsCasts Pro episodes are now free!

Learn more or hide this

pulpo's Profile

GitHub User: pulpo

Comments by


I found the solution, you must use ilike instead of like, cause heroku database is case sensitive:

@tracks = Track.where("nombre ilike ?", "%#{params[:q]}%")

I found this at this thread: Link

It worked ok for me, now I'm looking to make this work on my local development brunch.


Same problem here. On local server is working, but when pushing to heroku I have this issue.