Try 'Agile Web Development with Rails, Edition 4', the previous has some problems