Module: ActsAsParanoidValidationFix

Defined in:
lib/acts_as_paranoid_dag/validation_fix.rb

Overview

This is a fix for the interaction of the gem ‘rails3_acts_as_dag` and the ActiveRecord presence validation. The gem recommends to use the method `validates_uniqueness_of_without_deleted`, but since do not have access to the `acts-as-dag` validation declaration, this is not an option here. This, this fix adds a corresponding scope to the standard validation method.

Defined Under Namespace

Modules: ActiveRecordAdditions