Merge pull request #247 from shioyama/rails4

fix where_values_hash patch to work with rails4.
update deprecated Relation#update_all with conditions to new format.