Sha256: bd217211f7116653f0f4340af6890db65ea5cc84c675c385964b3e22938560e8

Contents?: true

Size: 174 Bytes

Versions: 4

Compression:

Stored size: 174 Bytes

Contents

# Provides soft-deletion for ActiveRecord models.
# origin: RM
module DeletableTrait
  as_trait do
    does 'afterlife', :as => 'deleted'
    does "indestructible"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
serum-rails-0.2.1 spec/test_apps/rails-2-3/app/models/shared/deletable_trait.rb
serum-rails-0.2.0 spec/test_apps/rails-2-3/app/models/shared/deletable_trait.rb
serum-rails-0.1.1 spec/test_app/app/models/shared/deletable_trait.rb
serum-rails-0.1.0 spec/test_app/app/models/shared/deletable_trait.rb