It provides a decent interface to MySQL’s INSERT ON DUPLICATE KEY UPDATE functionality which is really nice for avoiding the race conditions / rescue / retry you sometimes run into with plain old validates_uniqueness_of