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%'" )

No comments:

Post a Comment