- Fix missing flash messages. Thanks @nanjakkun
- Allow importing false values. Thanks @Wowu
- Calculate the
new_attrs
after thebefore_import_attributes
hook - Fix GitHub Actions CI
- Bump Nokogiri in tests
- pass
new_attrs
instead of record tobefore_import_attributes
hook. Thanks @Wowu - Use
associated_primary_key
for models with associations (compat fix for Rails Admin 3.x) - Bump Nokogiri in tests
- BREAKING CHANGE: Templates are now compatible with Rails Admin 3.x. For Rails Admin 2.x, continue using version 2.3.1. Thanks @Wowu
- Mark compatibility to Rails Admin < 3.0
- Bump Nokogiri in tests
- Added an option to pass filename for each record. Thanks @waheedi
- Enumeration translation. Thanks @zaknafain
- Switch to using CharlockHolmes for character detection. Thanks @codealchemy
- Readme improvements. Thanks @olleolleolle
- French translation. Thanks @rodinux
- Check for blank headers. Thanks @JuandGirald
- Italian translation. Thanks @aprofiti
- Remove haml dependency. Thanks @prem-prakash
- Japanese translation. Thanks @higumachan
- Multiple mapping keys. Thanks @dmitrypol
- Add more hooks during import
- Pull in the encoding list from the Encoding module instead of RailsAdmin. Thanks @baldursson, @patricklewis and @lucasff
- Implement row limit (default maximum is 1000 rows). Thanks @codealchemy!
- Document mapping keys. Thanks @zrisher!
- Ignore columns with blank headers in CSV files
- Bugfix: Create log/import directory when logging config option is enabled. Thanks @yovasx2!
- Use
where.first
instead offind_by
so update works for Mongoid
- Existing records can now be updated based on a belongs_to foreign key. Thanks Diego Carrion!
- Add Excel file format support
- Autoload the Excel import and encoding detection gems
csv_options
config added. Thanks Maksim Burnin!
Major rework of the gem by new maintainer.
- Support for Mongoid
- Changed model import hooks to take 1 hash argument
- Use Rails Admin abstract model instead of ActiveRecord reflection for better compatibility with custom associations
- Support CSV and JSON
- Update styling for Bootstrap 3
- Added tests
- Updated/corrected README
- Merged ImportLogger work
- Merged modifications to import view
- Merged post save hook on models