practices of crafting rails 4 applications