class Sequel::Plugins::ActiveModel::Errors

  1. lib/sequel/plugins/active_model.rb
Superclass: Sequel::Model::Errors

ActiveModel compliant error class

Methods

Public Instance

  1. []

Public Instance methods

[](k)

Add autovivification so that [] always returns an array.

[show source]
   # File lib/sequel/plugins/active_model.rb
24 def [](k)
25   fetch(k){self[k] = []}
26 end