remove attr_accessible to make it compatible with rails4