--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: msg
comment: 
- !ruby/struct:SM::Flow::P 
  body: Yields each full error message added. So <tt>Person.errors.add(&quot;first_name&quot;, &quot;can't be empty&quot;)</tt> will be returned through iteration as &quot;First name can't be empty&quot;.
- !ruby/struct:SM::Flow::VERB 
  body: "  class Company &lt; ActiveRecord::Base\n    validates_presence_of :name, :address, :email\n    validates_length_of :name, :in =&gt; 5..30\n  end\n\n  company = Company.create(:address =&gt; '123 First St.')\n  company.errors.each_full{|msg| puts msg }\n  # =&gt; Name is too short (minimum is 5 characters)\n  #    Name can't be blank\n  #    Address can't be blank\n"
full_name: ActiveRecord::Errors#each_full
is_singleton: false
name: each_full
params: () {|msg| ...}
visibility: public
