RailsCasts Pro episodes are now free!

Learn more or hide this

Einar Jonsson's Profile

GitHub User: einarj

Site: http://blog.codelette.com

Comments by Einar Jonsson

Avatar

Thanks Ryan for a great (as usual) screencast, and Piotrek for a nice looking gem.

My main problem with the polymorphic approach is that we loose information when models get destroyed. For instance, using the example in the screencast, I'd like to display the name of a recipe that got deleted.

This obviously means that the activity has to duplicate all the data it wants be able to display after model destruction.

Do you know of any work-around or non-polymorphic gem that does that?