Hi,
How would i rewrite this rails query to run on Heroku (Portegres)
@students = Student.find(:all,
:conditions =>["(concat(first_name, ' ', last_name) LIKE ?) OR
(concat(first_name, ' ', middle_names, ' ', last_name) LIKE ?)",
"%#{params[:search]}%", "%#{params[:search]}%"]
)