init rails best practices