How can I get the dependent Model class from a Controller?
I tried PeopleController.model and
PeopleController.dependecies_on(:model) with
no success. I’d like to avoid going through the
Inflector.classify(self.controller_name) workaround.
Thanks.
Cheers,
Marco