stick with generation as attr_accessible differs in rails 3-4