append rails best practices