Sha256: 3fa765f180e2d89d60af4d411c982679c27436bbc32b2eb7b11b355435b1ae94

Contents?: true

Size: 842 Bytes

Versions: 9

Compression:

Stored size: 842 Bytes

Contents

require 'active_data/model/conventions'
require 'active_data/model/attributes'
require 'active_data/model/validations'
require 'active_data/model/scopes'
require 'active_data/model/primary'
require 'active_data/model/lifecycle'
require 'active_data/model/persistence'
require 'active_data/model/callbacks'
require 'active_data/model/associations'
require 'active_data/model/localization'
require 'active_data/model/representation'
require 'active_data/model/dirty'

module ActiveData
  module Model
    extend ActiveSupport::Concern

    included do
      extend ActiveModel::Naming
      extend ActiveModel::Translation

      include ActiveModel::Conversion
      include ActiveModel::Serialization
      include ActiveModel::Serializers::JSON

      include Conventions
      include Attributes
      include Validations
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
active_data-1.2.0 lib/active_data/model.rb
active_data-1.1.7 lib/active_data/model.rb
active_data-1.1.6 lib/active_data/model.rb
active_data-1.1.5 lib/active_data/model.rb
active_data-1.1.4 lib/active_data/model.rb
active_data-1.1.3 lib/active_data/model.rb
active_data-1.1.2 lib/active_data/model.rb
active_data-1.1.1 lib/active_data/model.rb
active_data-1.1.0 lib/active_data/model.rb