Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

pulpo's Profile

GitHub User: pulpo

Comments by

Avatar

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

ruby
@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.

Avatar

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