# Controller Actions

**URL:** <https://www.ruby-forum.com/t/controller-actions/175109>\
**Category:** Rails\
**Created:** [September 8, 2009, 7:22am UTC](https://www.ruby-forum.com/t/controller-actions/175109 "2009-09-08T07:22:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avantec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@avantec](https://www.ruby-forum.com/u/avantec)\
**Post date:** [September 8, 2009, 7:22am UTC](https://www.ruby-forum.com/t/controller-actions/175109/1 "2009-09-08T07:22:25Z")

</div>

Hi All,  
How do I get all the actions & methods from a no. of controllers &  
export it into excel.

Thanks in Advance,  
Avantec

---

<div class="post-metadata">

**Author:** ![avantec](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@avantec](https://www.ruby-forum.com/u/avantec)\
**Post date:** [September 8, 2009, 7:59am UTC](https://www.ruby-forum.com/t/controller-actions/175109/2 "2009-09-08T07:59:20Z")

</div>

egrep -r '^ \*?def ’ /path/to/proj/app/controllers/ \>  
methods\_and\_actions.csv

On Sep 7, 10:22 pm, Avantec V. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
