`add_class_method` can be used to add a class method that only executes when the plugin is enabled. `add_model_callback` can be used to attach a callback to an ActiveRecord model such as `before_save` that will only execute when the plugin is enabled. |
||
|---|---|---|
| .. | ||
| auth_provider.rb | ||
| filter_manager.rb | ||
| filter.rb | ||
| instance.rb | ||
| metadata.rb | ||