init basic rails