On 19 March 2010 06:39, Hemant Bhargava <li...@ruby-forum.com> wrote:
> Hi josh,
>
> Thanks for a quickie, But how to get rid of this loop ..
>
> Josh Cheek wrote:
>
>> Perhaps you have a loop.
>>
>> EmployeeX manages EmployeeY and EmployeeY manages EmployeeX

Remove it from the database and put in validations to stop it happening again.
The infinite recursion could also be caused by an employee managing himself.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to