rails app used throughout book