ruby off rails best practice.