I did MyController.methods
and it listed EVERYTHING... things I didn't even know controllers could do!
How do I return the list of actions, such as create
, edit
, new
, destroy
, other_action
, other_non_protected_or_private_method
?
Using Ruby on Rails 2.3.8