Refactor validation checking to exclude non-ARs
Check for class type to make sure we're only validating on objects
that inherit from ActiveRecord::Base.
dev
1 parent eb0499e commit 30aeb6b50102e154d535774b6f4ddb1e06fb94f0
@Bodacious Bodacious authored on 17 Oct 2018
Showing 2 changed files
View
app/models/section_sorter.rb
View
lib/data_cleanup/model_check.rb