Update revive_destroyed_dependent_records

Use where instead of deprecated method, since Rails 3.2, find(:all, :conditions => {}).

Old/deprecated method resulted in the following error with Rails 4+ and Postgres:
ActiveRecord::StatementInvalid: PG::InvalidTextRepresentation: ERROR:  invalid input syntax for integer: "all"
(cherry picked from commit 121d52bed05a6021c8c7320d182d67f4c45a07fc)