implementing checkbox "the rails way"