Ruby on Rails implementation of delivery book