I am working on getting this PR updated with the latest code. I'm probably going to change this line though. I'm not sure that relying on the inflections to determine whether an association is a "many" is better than checking the macro of the relation.