Overview
The Rails Admin Import plugin adds the functionality to import data from CSV, JSON, and XLSX files into Rails Admin. It provides a way to create and update model instances with imported data, as well as associate records through defined mapping keys.
Features
- Compatibility: Works with Rails Admin 3.x and 2.x versions.
- Data Import: Allows importing data from CSV, JSON, and XLSX files.
- Mapping Keys: Unique identifiers for instances to update or attach records through associations.
- Global Configuration: Default mapping keys can be set in the configuration file.
- Authorization: Integration with CanCanCan for specifying models that can be imported.
- Field Mapping: Allows any fields to be imported as long as they are permitted by the model configuration.
- Association Lookup: Supports looking up associated records for both singular and plural relationships.