Topic: Method attributes in C# alternative for Rails

Hi all,
I have a requirement to assign a guid to every method (action) in Rails controllers.
With C#, it's easy to do that ( … s.71).aspx ).
For example:
|Author("Joe Programmer")|
class Account
    public void AddOrder(Order orderToAdd)

Author("Joe Programmer") and IsTested are 2 attributes assigned to class Account and method AddOrder accordingly.
Is there a same way in Rails or a similar trick to achieve that in Rails?


Last edited by nhatkhang (2012-05-29 05:58:18)