Rails example with out using scaffold