I have the following method in my User model.
def self.create_from(house:)
  create!(
    house: house,
    uuid: generate_uuid,
  )
end
Why am I getting a ActiveModel::MassAssignmentSecurity::Error for both house and uuid if I am not calling create_from from a controller? What is the suggested way to solve this in Rails 4.2? I am used to use strong_params when calling from a Controller, but this model method is called not from a controller.
 
     
    