Hi everyone,

http://dev.rubyonrails.org/changeset/9247 just broke some stuff in my
application in a fun way. I believe it only affects this very specific
edge case, though:

class Picture
  belongs_to :user
end

class User
  has_many :pictures, :dependent => :destroy
  belongs_to :picture  # this is the picture used as his avatar
end

Thanks to [9247], things get caught up in an infinite loop.

I'm not familiar with Rails internals enough to have a go at fixing
this, but thought you may want to know.

Cheers,
Hendrik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to