Im running the following sql statment which returns 1 result.
pSql = “SELECT sum(amount)
WHERE expected_pay_date LIKE '”+pWholeDate+"%’
AND invoice_id IS null "
aResult = Payment.find_by_sql(pSql)
how can I get the result of this?
(when doing @aResult.inspect it returns [#“18001.25”}>])