Sha256: f821275da0fb5c1a25fffb8fec15c656ea23e21f9464f6c0fd8bc054d4583708

Contents?: true

Size: 985 Bytes

Versions: 79

Compression:

Stored size: 985 Bytes

Contents

require 'active_model'

# @api public
#
module Acfs::Model
  require 'acfs/model/attributes'
  require 'acfs/model/dirty'
  require 'acfs/model/loadable'
  require 'acfs/model/locatable'
  require 'acfs/model/operational'
  require 'acfs/model/persistence'
  require 'acfs/model/query_methods'
  require 'acfs/model/relations'
  require 'acfs/model/service'
  require 'acfs/model/validation'

  extend ActiveSupport::Concern

  included do
    if ActiveModel::VERSION::MAJOR >= 4
      include ActiveModel::Model
    else
      extend  ActiveModel::Naming
      extend  ActiveModel::Translation
      include ActiveModel::Conversion
      include ActiveModel::Validations

      require 'acfs/model/initialization'
      include Initialization
    end

    include Attributes
    include Loadable
    include Persistence
    include Locatable
    include Operational
    include QueryMethods
    include Relations
    include Service
    include Dirty
    include Validation
  end
end

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
acfs-0.32.1.1.b275 lib/acfs/model.rb
acfs-0.32.1.1.b274 lib/acfs/model.rb
acfs-0.32.1.1.b272 lib/acfs/model.rb
acfs-0.32.1 lib/acfs/model.rb
acfs-0.32.0.1.b270 lib/acfs/model.rb
acfs-0.31.0.1.b269 lib/acfs/model.rb
acfs-0.32.0 lib/acfs/model.rb
acfs-0.31.0.1.b265 lib/acfs/model.rb
acfs-0.31.0.1.b263 lib/acfs/model.rb
acfs-0.31.0 lib/acfs/model.rb
acfs-0.30.0.1.b262 lib/acfs/model.rb
acfs-0.30.0.1.b261 lib/acfs/model.rb
acfs-0.30.0.1.b260 lib/acfs/model.rb
acfs-0.30.0 lib/acfs/model.rb
acfs-0.29.1.1.b259 lib/acfs/model.rb
acfs-0.29.1.1.b257 lib/acfs/model.rb
acfs-0.29.1 lib/acfs/model.rb
acfs-0.29.0.1.b256 lib/acfs/model.rb
acfs-0.29.0.1.b254 lib/acfs/model.rb
acfs-0.29.0 lib/acfs/model.rb