U:RDoc::AnyMethod[iI"	each:EFI"ActiveModel::Errors#each;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"MIterates through each error key, value pair in the error messages hash. ;TI"NYields the attribute and the error for that attribute.  If the attribute ;TI"Ihas more than one error message, yields once for each error message.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;	[I"+p.errors.add(:name, "can't be blank")
;TI"0p.errors.each do |attribute, errors_array|
;TI"/  # Will yield :name and "can't be blank"
;TI"	end
;TI"
;TI".p.errors.add(:name, "must be specified")
;TI"0p.errors.each do |attribute, errors_array|
;TI"/  # Will yield :name and "can't be blank"
;TI"2  # then yield :name and "must be specified"
;TI"end;T:@format0:
@fileI"lib/active_model/errors.rb;T:0@omit_headings_from_table_of_contents_below00I"attribute, error;T[ I"();T@FI"Errors;FcRDoc::NormalClass0