Sha256: 30e7cb88b4a2b294e6949f8f78f308548be974c8f67585f6fcbe679938baa89f

Contents?: true

Size: 128 Bytes

Versions: 188

Compression:

Stored size: 128 Bytes

Contents

module Enableable
  extend ActiveSupport::Concern
  include BooleanField
  
  included do
    boolean_field(:enabled)
  end
end

Version data entries

188 entries across 188 versions & 2 rubygems

Version Path
rocket_cms-0.19.2 app/models/concerns/enableable.rb
rocket_cms-0.19.1 app/models/concerns/enableable.rb
rocket_cms-0.19.0 app/models/concerns/enableable.rb
rocket_cms-0.18.5 app/models/concerns/enableable.rb
rocket_cms-0.18.4 app/models/concerns/enableable.rb
rocket_cms-0.18.3 app/models/concerns/enableable.rb
rocket_cms-0.18.2 app/models/concerns/enableable.rb
rocket_cms-0.18.1 app/models/concerns/enableable.rb
rocket_cms-0.18.0 app/models/concerns/enableable.rb
rocket_cms-0.17.2 app/models/concerns/enableable.rb
rocket_cms-0.17.1 app/models/concerns/enableable.rb
rocket_cms-0.17.0 app/models/concerns/enableable.rb
rocket_cms-0.16.1 app/models/concerns/enableable.rb
rocket_cms-0.16.0 app/models/concerns/enableable.rb
rocket_cms-0.15.5 app/models/concerns/enableable.rb
rocket_cms-0.15.4 app/models/concerns/enableable.rb
rocket_cms-0.15.3 app/models/concerns/enableable.rb
rocket_cms-0.15.2 app/models/concerns/enableable.rb
rocket_cms-0.15.1 app/models/concerns/enableable.rb
rocket_cms-0.15.0 app/models/concerns/enableable.rb