Added better messages and error handling in a couple of places. Added integration...
authorMatt Amos <zerebubuth@gmail.com>
Wed, 30 Sep 2009 17:39:42 +0000 (17:39 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Wed, 30 Sep 2009 17:39:42 +0000 (17:39 +0000)
commit77851bac7bf76473de33b7bbab00bc1b3d834cb1
tree6645028c5db0f98a383b3d4c8ce660397f887d31
parent95c3d640a44857b0b92ec3be6dad606e40057c5c
Added better messages and error handling in a couple of places. Added integration checks to ensure that the blocking is actually working. Tests FTW.
app/controllers/application_controller.rb
app/controllers/user_blocks_controller.rb
app/models/user.rb
app/views/user_blocks/not_found.html.erb [new file with mode: 0644]
config/locales/en.yml
test/integration/user_blocks_test.rb [new file with mode: 0644]