Sha256: 2db4e9a252788d73f034b69fac55f452d1fc14e2ab843c825fefa5219849b3b1

Contents?: true

Size: 819 Bytes

Versions: 1

Compression:

Stored size: 819 Bytes

Contents

require 'granite/form/model/conventions'
require 'granite/form/model/attributes'
require 'granite/form/model/validations'
require 'granite/form/model/scopes'
require 'granite/form/model/primary'
require 'granite/form/model/persistence'
require 'granite/form/model/associations'
require 'granite/form/model/localization'
require 'granite/form/model/representation'
require 'granite/form/model/dirty'

module Granite
  module Form
    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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
granite-form-0.3.0 lib/granite/form/model.rb