remind101/permanent_records — pull request #1 by ejholmes (2014-10-21 23:43:25+00:00)
Title: Make `deleted?` return an appropriate value for regular models.

It sucks having to rely on different interfaces based on wether the record has a deleted_at column.

Currently, if the record has no deleted_at column, `deleted_at?` will return nil, even if the record is destroyed. With this change `deleted?` always returns an appropriate value so that consumers of the method need not care if it's a permanent record or not.