create 的时候怎么跳过 before_create 呢,,拜托各位大神啊
class Employee
before_create do
self.employee_category = self.employee.category.display_name
end
end
class EmployeeImport
Employee.create(hash)
end
EmployeeImport 里面的 create 怎么跳过 before_create 呢