On Fri, Jul 22, 2011 at 4:28 PM, Rob Gu <[email protected]> wrote:
> Ok thanks guys for the great advice, that is almost certainly the issue
> (creating users and microposts, then deleting the original user etc..)

Regardless of DB, remember you can handle situations like this using
e.g. :dependent => :destroy on an association, or even an after_destroy
callback (if you want to do something with the "orphaned" object").

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
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 [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-talk?hl=en.

Reply via email to