basic rails outline