Rails - code cleanup - bestpractices