RUBY: Update_all in ruby on rails
This updates all records that mathcing with the given conditions
People.update_all( "name = 'Joe'", "name ilike '%joe%'" )
People.update_all( "name = 'Joe'", "name ilike '%joe%'" )