Module: HasModerated::ModeratedDestroy::ClassMethods
- Defined in:
- lib/has_moderated/moderated_destroy.rb
Instance Method Summary collapse
Instance Method Details
#has_moderated_destroy(*options) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/has_moderated/moderated_destroy.rb', line 4 def has_moderated_destroy * HasModerated::Common::init(self) # Lazily include the instance methods so we don't clutter up # any more ActiveRecord models than we have to. send :include, InstanceMethods alias_method_chain :destroy, :moderation end |