Sha256: c09281b2c69ed4b7729f9f4b6a646c07f6fbfe01e85e493c45e47781bfb97569

Contents?: true

Size: 92 Bytes

Versions: 4

Compression:

Stored size: 92 Bytes

Contents

ActiveModel::Errors.class_eval do
  def <<(other)
    self.merge!(other)
    self
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
railjet-4.0.0 lib/active_model/merge_errors.rb
railjet-3.5.0 lib/active_model/merge_errors.rb
railjet-3.4.0 lib/active_model/merge_errors.rb
railjet-3.3.0 lib/active_model/merge_errors.rb