RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: chabgood
Site: http://www.heypublisher.com
?? I used the above solution from ziemekwolski and I still get nothing back when i search for say "anky" but I get results back when doing:
@dr_wallaches = DrWallach.where("callers like ? or monologue like ?","%#{params[:search][:terms]}%","%#{params[:search][:terms]}%")
Thank god, I was not getting any results back.
Is this not a good solution due to no foreign key references?
?? I used the above solution from ziemekwolski and I still get nothing back when i search for say "anky" but I get results back when doing:
@dr_wallaches = DrWallach.where("callers like ? or monologue like ?","%#{params[:search][:terms]}%","%#{params[:search][:terms]}%")
Thank god, I was not getting any results back.
Is this not a good solution due to no foreign key references?