Revert "added the method set_instances_db_transient for ruby."

This reverts commit 063f7b5dc555567e451c9ef37becd3f0bfedbda9.