Rails_admin_import

screenshot of Rails_admin_import

Rails Admin Import functionality

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.

Summary

The Rails Admin Import plugin provides a convenient way to import data from CSV, JSON, and XLSX files into Rails Admin. It supports a variety of features including data import, mapping keys, field mapping, and association lookup. By following the installation guide and utilizing the plugin's functionality, users can efficiently manage and associate records within their Rails Admin interface.