switched to rails 4 model attr_accessible