Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

coredevs's Profile

GitHub User: coredevs

Comments by

Avatar

Yep, it was due to calling the create_activity method after the object had been destroyed.

According to the gem maintainers, you simply have to assume the record will be destroyed, and call create_activity before the destroy

Avatar

Did you manage to implement this?

Avatar

Calling @comment.create_activity :destroy, owner: current_user after if @comment.destroy gives the following error: You cannot call create unless the parent is saved.

Any ideas?

Avatar

I'm still getting problems with rbenv just hanging on "Installing ruby-1.9.3-p429...", I've never had any problems before, or had to alter any SSH timeouts. Any ideas?

Avatar

Thanks, this solved all issues I was having with bootstrap plugins :)

Avatar

Still getting issues with this, dropdown's aren't triggered after page change