Expose User#avatar for mass-assignment
authorMarius Mathiesen <marius@gitorious.org>
Tue, 26 Feb 2013 12:47:24 +0000 (13:47 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Tue, 26 Feb 2013 12:47:24 +0000 (13:47 +0100)
commitc350912b74fb7ac2afeef7e256befead3b93d7c4
tree90d747df3375cc543b08ea0114e55bc7a1365d75
parent2fb49c849515212032841ba25172990557527f73
Expose User#avatar for mass-assignment

This resolves a bug where a user's avatar wasn't updated after we
introduced white-listing of model attributes a few weeks back.
app/models/user.rb