Prevent Messages#index from choking on senders being removed.
authorMarius Mathiesen <marius@gitorious.org>
Tue, 24 May 2011 13:53:33 +0000 (15:53 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Tue, 24 May 2011 13:53:33 +0000 (15:53 +0200)
commit13c727b96b4040bc7932d1fbb8bc7d91497a6cc7
tree3f3b75862b34a4e70c734af8c5d746e0fa471504
parentbd73540d175c48ab48311d88d52c63493faa33bd
Prevent Messages#index from choking on senders being removed.

If a user who has sent eg. spam to other users is deleted, rendering the
inbox for the recipients of any messages from this user would fail.
app/helpers/messages_helper.rb
test/functional/messages_controller_test.rb