Sha256: 96362a40e41ab365a5b22808bcb05940df47859fe8f7368bd82bd1269b102119

Contents?: true

Size: 267 Bytes

Versions: 10

Compression:

Stored size: 267 Bytes

Contents

module ActiveModel::Associations
  module AutosaveAssociation
    extend ActiveSupport::Concern

    include ActiveRecord::AutosaveAssociation

    included do
      extend ActiveModel::Callbacks
      define_model_callbacks :save, :create, :update
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
eac_rails_utils-0.20.0 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.2.0 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.2.0.beta2 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.2.0.beta1 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.1.2 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.1.1 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.1.0 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.0.3 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.0.2 lib/active_model/associations/autosave_association.rb
activemodel-associations-0.0.1 lib/active_model/associations/autosave_association.rb