remove attr_accessible to update to rails 4. will not be supporting rails 3 and rails 4.