RailsCasts Pro episodes are now free!

Learn more or hide this

Kaan Yamanyar's Profile

GitHub User: yamanyar

Site: www.yamanyar.com

Comments by Kaan Yamanyar

Avatar

Thanks for the video.

Has anyone experienced a problem with re-cyclic references?

For example: A has a child B. But later on you update A and change it's parent to B. Then it becomes A has B; B has A...

I wrote a validation to prevent it but although unit test works; it seems it goes into an infinite loop when I do this from frontend. Check here if you want to see the validation I tried.