Serving template from databse based on Crafting Rails 4 Application book