Gem Version

Administrate::Field::List

simple plugin in order to be able to view and edit serialized list within Administrate

screenshot

supported serialization type

  • JSON
class Project < ApplicationRecord
  serialize :admin_group, JSON
  serialize :editor_group, JSON

Installation

Add this line to your application's Gemfile:

gem 'administrate-field-list'

And then execute:

$ bundle install

Usage

In your Dashboard ATTRIBUTE_TYPES use the field type Field::List. i.e.

ATTRIBUTE_TYPES = {
  tags: Field::List
}

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/potato2003/administrate-field-list