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.24.0.1.b214 lib/acfs/model.rb
acfs-0.24.0.1.b212 lib/acfs/model.rb
acfs-0.24.0.b210 lib/acfs/model.rb
acfs-0.24.0 lib/acfs/model.rb
acfs-0.23.2.b209 lib/acfs/model.rb
acfs-0.23.2.b208 lib/acfs/model.rb
acfs-0.23.2.b206 lib/acfs/model.rb
acfs-0.23.2.b205 lib/acfs/model.rb
acfs-0.23.2.b204 lib/acfs/model.rb
acfs-0.23.2.b203 lib/acfs/model.rb
acfs-0.23.2.b200 lib/acfs/model.rb
acfs-0.23.2.b199 lib/acfs/model.rb
acfs-0.23.2 lib/acfs/model.rb
acfs-0.23.1.b198 lib/acfs/model.rb
acfs-0.23.1 lib/acfs/model.rb
acfs-0.23.0.b197 lib/acfs/model.rb
acfs-0.22.2.b196 lib/acfs/model.rb
acfs-0.23.0 lib/acfs/model.rb
acfs-0.22.2.b194 lib/acfs/model.rb
acfs-0.22.2.b193 lib/acfs/model.rb