update deprecated Relation#update_all with conditions to new format.
Merge pull request #248 from shioyama/rails4

update deprecated Relation#update_all with conditions to new format.