Module: Sequel::Plugins

Module | Sequel::Plugins
In: | lib/sequel/model/plugins.rb lib/sequel/plugins/caching.rb lib/sequel/plugins/hook_class_methods.rb lib/sequel/plugins/identity_map.rb lib/sequel/plugins/lazy_attributes.rb lib/sequel/plugins/many_through_many.rb lib/sequel/plugins/schema.rb lib/sequel/plugins/serialization.rb lib/sequel/plugins/single_table_inheritance.rb lib/sequel/plugins/tactical_eager_loading.rb lib/sequel/plugins/validation_class_methods.rb lib/sequel/plugins/validation_helpers.rb lib/sequel/plugins/association_proxies.rb lib/sequel/plugins/timestamps.rb lib/sequel/plugins/boolean_readers.rb lib/sequel/plugins/instance_hooks.rb lib/sequel/plugins/nested_attributes.rb lib/sequel/plugins/touch.rb lib/sequel/plugins/typecast_on_load.rb lib/sequel/plugins/subclasses.rb lib/sequel/plugins/active_model.rb lib/sequel/plugins/association_dependencies.rb lib/sequel/plugins/force_encoding.rb lib/sequel/plugins/class_table_inheritance.rb

Empty namespace that plugins should use to store themselves, so they can be loaded via Model.plugin.

Plugins should be modules with one of the following conditions:

- A singleton method named apply, which takes a model, additional arguments, and an optional block. This is called once, the first time the plugin is loaded, with the arguments and block provide to the call to Model.plugin.
- A module inside the plugin module named InstanceMethods, which will be included in the model class.
- A module inside the plugin module named ClassMethods, which will extend the model class.
- A module inside the plugin module named DatasetMethods, which will extend the model‘s dataset.
- A singleton method named configure, which takes a model, additional arguments, and an optional block. This is called every time the Model.plugin method is called.

### Classes and Modules

Module Sequel::Plugins::ActiveModel
Module Sequel::Plugins::AssociationDependencies
Module Sequel::Plugins::AssociationProxies
Module Sequel::Plugins::BooleanReaders
Module Sequel::Plugins::Caching
Module Sequel::Plugins::ClassTableInheritance
Module Sequel::Plugins::ForceEncoding
Module Sequel::Plugins::HookClassMethods
Module Sequel::Plugins::IdentityMap
Module Sequel::Plugins::InstanceHooks
Module Sequel::Plugins::LazyAttributes
Module Sequel::Plugins::ManyThroughMany
Module Sequel::Plugins::NestedAttributes
Module Sequel::Plugins::Schema
Module Sequel::Plugins::Serialization
Module Sequel::Plugins::SingleTableInheritance
Module Sequel::Plugins::Subclasses
Module Sequel::Plugins::TacticalEagerLoading
Module Sequel::Plugins::Timestamps
Module Sequel::Plugins::Touch
Module Sequel::Plugins::TypecastOnLoad
Module Sequel::Plugins::ValidationClassMethods
Module Sequel::Plugins::ValidationHelpers

[Validate]