Rails Postgres String Operations Javascript Tutorialspoint