Final RETURNING bugfix

Add the use_insert_returning? function used to check the option in database.yml