Walter,

thanks for pointing this out. I think this is the problem, let me check 
and I will get back.

Thank you

Walter Davis wrote in post #1150092:
> On Jun 18, 2014, at 2:09 PM, Walter Lee Davis wrote:
>
>>>
>>> validates :state, presence: true
>>>    self.city = populate_address.city
>>>    self.street = populate_address.street
>>>    self.state = populate_address.state
>>> end
>>> end
>>
>> If your method is called populate_address, and you have populate_address on 
>> the
> second line of that method, what exactly do you expect to happen but a
> loop? Is
> that a typo? You've used it over and over, and it doesn't seem to be
> defined
> anywhere else.
>
> 1.9.3-p484 :001 > def foo
> 1.9.3-p484 :002?>   foo.bar
> 1.9.3-p484 :003?>   end
>  => nil
> 1.9.3-p484 :004 > foo
> SystemStackError: stack level too deep
>   from
> 
/Volumes/eddy/Users/waltd/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/irb/workspace.rb:80

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/1398c31015227b4db2f64b403f92571f%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to