stephskardal / rails_admin_import

Rails Admin Import functionality
http://www.endpoint.com/
MIT License
160 stars 122 forks source link

fix: allow importing 'false' values #129

Closed wowu closed 2 years ago

wowu commented 2 years ago

Currently fields are rejected based on #blank?. false.blank? equals true, so false values are discarded.

https://github.com/stephskardal/rails_admin_import/blob/5a536c3de0039bf89581cf393cd44e64882b8baa/lib/rails_admin_import/importer.rb#L208-L210

monkbroc commented 2 years ago

Thanks for the fix! Released as 3.0.3