refactor active_record/instance_methods to reduce complexity
refactor active_record/class_methods
refactor active_record/adapter