Closed jcollum closed 11 years ago
It's not the inspect that are clearing the selector.
when you call:
cr.where(name: 'Bob')
you are not modifying your cr instance, the where methods returns a new instance of Criteria.
if you do something like this:
cr.where(name: 'Bob').inspect
the selector will be there....
Note that I put a where clause in and the selector was
{"name"=>"Bob"}
which is expected. Then I do aninspect
and the selector is now empty.