I am also kind of stuck here, you can do 2 thigns to check what's
going wrong. Check the logs for the sql query that's going to the db,
and see if that's the one you want. 2. use the debug () function to
print the class of the result. some thing like this in your view <%=
I know these are not the answers, but it might some how lead to answers.