Rails application for managing books