elabs/pundit — pull request #24 by EntilZha (2013-04-09 00:39:35+00:00)
Title: Additional flexbility on authorize to allow optional parameters

Added the ability to pass parameters to the authorizing method. The modification is on authorize. It adds an additional parameter arguments initialized to an empty list. public_send accepts this as a list to bind arguments to if using *arguments as the second parameter. Thus, it does not break any current functionality, but extends the functionality of pundit to methods which require additional inputs