Validate ActiveRecord reference in Sprig::Seed::Factory.