Convert the Arel query object to a SQL string before executing it

Cherry-picked from haroldl/yaml_db via ludicast/yaml_db#37