Raising an error when nil or non-hash is passed to update_attributes.
Merge pull request #9860 from wangjohn/update_attributes_throws_error_with_nil

Raising an error when nil is passed to update_attributes.

Conflicts:
	activerecord/CHANGELOG.md
ActiveRecord::ConnectionAdapters::Column.string_to_time method respects string with timezone. Closes #12278.