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.10.1 app/models/concerns/enableable.rb
rocket_cms-0.10.0 app/models/concerns/enableable.rb
rocket_cms-0.9.9 app/models/concerns/enableable.rb
rocket_cms-0.9.8 app/models/concerns/enableable.rb
ack_rocket_cms-0.9.2 app/models/concerns/enableable.rb
rocket_cms-0.9.7 app/models/concerns/enableable.rb
rocket_cms-0.9.5 app/models/concerns/enableable.rb
rocket_cms-0.9.4 app/models/concerns/enableable.rb
rocket_cms-0.9.3 app/models/concerns/enableable.rb
rocket_cms-0.9.2 app/models/concerns/enableable.rb
ack_rocket_cms-0.9.1.3 app/models/concerns/enableable.rb
ack_rocket_cms-0.9.1.2 app/models/concerns/enableable.rb
ack_rocket_cms-0.9.1.1 app/models/concerns/enableable.rb
ack_rocket_cms-0.9.1 app/models/concerns/enableable.rb
ack_rocket_cms-0.9 app/models/concerns/enableable.rb
rocket_cms-0.9.1 app/models/concerns/enableable.rb
rocket_cms-0.8.13 app/models/concerns/enableable.rb
ack_rocket_cms-0.8.2 app/models/concerns/enableable.rb
rocket_cms-0.8.12 app/models/concerns/enableable.rb
rocket_cms-0.8.11 app/models/concerns/enableable.rb