Module: IronAdmin::Concerns::SoftDeletable
- Extended by:
- ActiveSupport::Concern
- Included in:
- Resource
- Defined in:
- lib/iron_admin/concerns/soft_deletable.rb
Overview
Adds the auto-registered soft-delete features (with_deleted /
only_deleted scopes and the :restore action) when the underlying
model has a deleted_at column.
Extracted from IronAdmin::Resource so the registration logic can
evolve independently — and so the parent class stays under the
configured Metrics/ClassLength budget.