rails/rails — pull request #9860 by wangjohn (2013-03-21 21:20:08+00:00)
Title: Raising an error when nil is passed to update_attributes.

In https://github.com/rails/rails/commit/9e4b715d790aa84dfb3d7aa332e0012cbc264394, @josevalim removed the ability to send a nil argument to ``update_attributes``. However, the reasoning behind that was because a pretty cryptic error was thrown.

Instead of allowing you to send a nil argument, it might be better to raise an ``ArgumentError`` which has a clear error message. I've made that change here, but this PR is more intended as a discussion on which behavior is better.