Sometimes we would want to throttle certain application actions. For instance, a user should only be allowed to send x amount of emails to other members of the site in order to reduce the spam risk.
Since this is a quite common task, I thought I might as well make it as a Rails plugin for better code reusability.
There is currently no tests for the plugin but I will be adding rspec specs to it soon.
Enjoy what you are reading? Sign up for a better experience on Persumi.