Why is the conditional needed here - if attribute_names.include? "os_family"
If os_family is not imported, then it will be nil which is valid since :allow_nil => true
Am I missing something?