josevalim/inherited_resources — comment on commit b21aa27b218aa831592a449e554a2361bfc39d6f
File:  line 0
By josevalim:

You should be able to easily fix this issue by setting self.resource_class back to nil in your custom controller.