Closed wowu closed 2 years ago
Currently fields are rejected based on #blank?. false.blank? equals true, so false values are discarded.
#blank?
false.blank?
true
https://github.com/stephskardal/rails_admin_import/blob/5a536c3de0039bf89581cf393cd44e64882b8baa/lib/rails_admin_import/importer.rb#L208-L210
Thanks for the fix! Released as 3.0.3
Currently fields are rejected based on
#blank?
.false.blank?
equalstrue
, so false values are discarded.https://github.com/stephskardal/rails_admin_import/blob/5a536c3de0039bf89581cf393cd44e64882b8baa/lib/rails_admin_import/importer.rb#L208-L210