Add rails best practices