I have a Rails question.
How do I get a controller action's name inside the controller action?
For example, instead of
def create
logger.info("create")
end
I want to write something like
def create
logger.info(this_def_name)
end
What is a way to get this_def_name
?