Please sign in to comment.
fix `reset_counters` to work even with complex class names
e.g. it guesses that a belongs_to association to Namespace::MyModel is named "my_model", unlike before where it would look up an association named "namespace::mymodel" and fail.
- Loading branch information...
Showing with 31 additions and 4 deletions.