# How to get all models,controller,action and method names in

**URL:** <https://www.ruby-forum.com/t/how-to-get-all-models-controller-action-and-method-names-in/192785>\
**Category:** Rails\
**Created:** [August 5, 2010, 2:14pm UTC](https://www.ruby-forum.com/t/how-to-get-all-models-controller-action-and-method-names-in/192785 "2010-08-05T14:14:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rams\_vel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ad7895/32.png) [@rams\_vel](https://www.ruby-forum.com/u/rams_vel)\
**Post date:** [August 5, 2010, 2:14pm UTC](https://www.ruby-forum.com/t/how-to-get-all-models-controller-action-and-method-names-in/192785/1 "2010-08-05T14:14:33Z")

</div>

Hi guys,

In runtime we can get the current controller and current action names by  
controller\_name and action\_name methods like wise,

I want to get all the remaining controllers and action names and models  
too if possible…

Any rails method available to get all the controller names and the  
action names in application controller.

Thanks in Advance,

Ramanaa Selvaa
