Sha256: 4604193d70a124e6581b054877ae3cf3bcea9ae363b7fb61b4973f34cfeda8fa

Contents?: true

Size: 230 Bytes

Versions: 162

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

module Motor
  class Resource < ::Motor::ApplicationRecord
    audited

    attribute :preferences, default: -> { HashWithIndifferentAccess.new }
    serialize :preferences, HashSerializer
  end
end

Version data entries

162 entries across 162 versions & 2 rubygems

Version Path
motor-admin-0.4.3 app/models/motor/resource.rb
motor-admin-0.4.2 app/models/motor/resource.rb
motor-admin-0.4.0 app/models/motor/resource.rb
motor-admin-0.3.17 app/models/motor/resource.rb
motor-admin-0.3.16 app/models/motor/resource.rb
motor-admin-0.3.15 app/models/motor/resource.rb
mafia-admin-0.3.18 app/models/motor/resource.rb
mafia-admin-0.3.17 app/models/motor/resource.rb
mafia-admin-0.3.16 app/models/motor/resource.rb
mafia-admin-0.3.15 app/models/motor/resource.rb
mafia-admin-0.3.14 app/models/motor/resource.rb
motor-admin-0.3.14 app/models/motor/resource.rb
motor-admin-0.3.13 app/models/motor/resource.rb
motor-admin-0.3.12 app/models/motor/resource.rb
motor-admin-0.3.11 app/models/motor/resource.rb
motor-admin-0.3.10 app/models/motor/resource.rb
motor-admin-0.3.9 app/models/motor/resource.rb
motor-admin-0.3.8 app/models/motor/resource.rb
motor-admin-0.3.7 app/models/motor/resource.rb
motor-admin-0.3.6 app/models/motor/resource.rb