Module: GimmeABreak
- Defined in:
- lib/gimme_a_break.rb
Overview
This plugin adds a way to throttle ActiveRecord creation. Add gimme_a_break
to your model to enable the throttling. It will then not be possible to create models in quick succession. The error message will be added to the base object, and can be localized using the key gimme_a_break.notice
.