crafting rails applications