It become a nightmare when we have a complicate logic in ActiveRecord model. Now we are maintaining a complicate rails project. As one of the most complex models, we have more than 4000 lines code and more than 140 callbacks. It is depressed when new features comes in. No one can tell which part is impacted and need to update.
Does anyone has suggestion for the case? Any better idea to organize the callbacks? Or we need to avoid to abuse using callbacks, and any other solution need involved?