rails/rails — pull request #7133 by roshats (2012-07-23 09:09:42+00:00)
Title: fix update_all with blank argument

Without this commit ```Comment.update_all({})``` gives ```UPDATE "comments" SET``` sql and raises exception. Now ```update_all``` returns number of rows in scope even if argument is blank.