Displaying 1 result from an estimated 1 matches for "dependecies_on".
2006 Jul 13
0
How to get dependent Model(s) from Controller
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