Sha256: f440d5753d3d531ec67bca1be776d0ba1bb452cc17b87716c28df56a25d1acaa

Contents?: true

Size: 198 Bytes

Versions: 2

Compression:

Stored size: 198 Bytes

Contents

class Setting < RailsSettings::Base
  field :i18n_updated_at, type: :string

  Weeler.settings_fields.each do |field_options|
    field field_options[:name], **field_options.except(:name)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
weeler-2.1.0 app/models/setting.rb
weeler-2.0.1 app/models/setting.rb