Sha256: 2a9357901d209ef47afb22ca5fa6f6aab958bc9583c415de37b5e8ac7bed5ca3
Contents?: true
Size: 904 Bytes
Versions: 1
Compression:
Stored size: 904 Bytes
Contents
# encoding: utf-8 module Dynamoid #:nodoc module Components #:nodoc extend ActiveSupport::Concern # All modules that a +Document+ is composed of are defined in this # module, to keep the document class from getting too cluttered. included do extend ActiveModel::Translation extend ActiveModel::Callbacks define_model_callbacks :create, :save, :destroy end include ActiveModel::Conversion include ActiveModel::MassAssignmentSecurity include ActiveModel::Naming include ActiveModel::Observing include ActiveModel::Validations include ActiveModel::Serializers::JSON include ActiveModel::Serializers::Xml include Dynamoid::Attributes include Dynamoid::Fields include Dynamoid::Indexes include Dynamoid::Persistence include Dynamoid::Finders include Dynamoid::Associations include Dynamoid::Criteria end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dynamoid-0.1.1 | lib/dynamoid/components.rb |