removed binding.pry
changed rating to integer in DB