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.28.0.1.b253 lib/acfs/model.rb
acfs-0.28.0.1.b249 lib/acfs/model.rb
acfs-0.28.0 lib/acfs/model.rb
acfs-0.27.0.1.b248 lib/acfs/model.rb
acfs-0.27.0.1.b244 lib/acfs/model.rb
acfs-0.27.0 lib/acfs/model.rb
acfs-0.26.0.1.b243 lib/acfs/model.rb
acfs-0.26.0.1.b242 lib/acfs/model.rb
acfs-0.26.0 lib/acfs/model.rb
acfs-0.25.0.1.b232 lib/acfs/model.rb
acfs-0.25.0.1.b229 lib/acfs/model.rb
acfs-0.25.0.1.b228 lib/acfs/model.rb
acfs-0.25.0.1.b227 lib/acfs/model.rb
acfs-0.25.0.1.b226 lib/acfs/model.rb
acfs-0.25.0.1.b225 lib/acfs/model.rb
acfs-0.25.0.1.b223 lib/acfs/model.rb
acfs-0.25.0.1.b221 lib/acfs/model.rb
acfs-0.25.0.1.b217 lib/acfs/model.rb
acfs-0.25.0 lib/acfs/model.rb
acfs-0.24.0.1.b216 lib/acfs/model.rb