Module: Sequel::Plugins::BlacklistSecurity

Defined in:


The blacklist_security plugin contains blacklist-based support for mass assignment, specifying which columns to not allow mass assignment for, implicitly allowing mass assignment for columns not listed. This is only for backwards compatibility, it should not be used by new code.


# Make all model subclasses support the blacklist security features. 
Sequel::Model.plugin :blacklist_security

# Make the Album class support the blacklist security features.
Album.plugin :blacklist_security

Defined Under Namespace

Modules: ClassMethods, InstanceMethods