destroy

default_scope breaks (update|delete|destroy)_all in some cases

Hello, I believe this is a bug in Rails 3. I am hoping someone here can steer me in the correct direction. The code posted below, is purely for illustration of this problem. Hopefully this does not confuse the issue. Given I have a Post model, and a Comment model. Post has_many Comments, and Comment belongs_to Post. With a default_scop...

[Android] : How much time can be taken inside onDestory() before the activity is killed?

Hi, I know my question caption must have sounded really vague. But let me clear it out here. Say I have an android application over a middleware stack. In onCreate() of my activity, I initialise my middleware modules. In its onDestroy(), I must de-initialise the middleware. Now my middleware calls may take quite some time to process....