Added boilerplate rails code