pinteresting code from onemonthrails tutorial