casting JDBC execute results as ActiveRecord::Results