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.37.1 app/models/concerns/enableable.rb
rocket_cms-0.37.0 app/models/concerns/enableable.rb
rocket_cms-0.36.0 app/models/concerns/enableable.rb
rocket_cms-0.35.0 app/models/concerns/enableable.rb
rocket_cms-0.34.0 app/models/concerns/enableable.rb
rocket_cms-0.33.1 app/models/concerns/enableable.rb
rocket_cms-0.33.0 app/models/concerns/enableable.rb
rocket_cms-0.32.0 app/models/concerns/enableable.rb
rocket_cms-0.31.1 app/models/concerns/enableable.rb
rocket_cms-0.31.0 app/models/concerns/enableable.rb
rocket_cms-0.30.0 app/models/concerns/enableable.rb
rocket_cms-0.29.0 app/models/concerns/enableable.rb
rocket_cms-0.28.0 app/models/concerns/enableable.rb
rocket_cms-0.27.8 app/models/concerns/enableable.rb
rocket_cms-0.27.7 app/models/concerns/enableable.rb
rocket_cms-0.27.6 app/models/concerns/enableable.rb
rocket_cms-0.27.5 app/models/concerns/enableable.rb
rocket_cms-0.27.4 app/models/concerns/enableable.rb
rocket_cms-0.27.3 app/models/concerns/enableable.rb
rocket_cms-0.27.2 app/models/concerns/enableable.rb