lib/administrate/field/list.rb in administrate-field-list-0.0.1 vs lib/administrate/field/list.rb in administrate-field-list-0.0.2

- old
+ new

@@ -2,9 +2,13 @@ require 'rails' module Administrate module Field class List < Administrate::Field::Base + def self.permitted_attribute(attr, _options = nil) + {attr => []} + end + def to_s return '-' unless data pretty end