Internals were completely reworked in this version. General performance was improved dramatically.
The following improvements were made:
This release includes refined lazy loading facility, that improves dramatically performance of collections and also a number of minor fixes and improvements.
Design by Neil Patel has been taken from http://openwebdesign.org
This release includes support for Postgre SQL and a lot of minor fixes and improvements. Performance is still poor but it is going to be better in future releases.
Some issues have been found:
Functions Rubernate::Queries::Operations::IsNil and IsNotNil behaves incorectly in some cases.
So query like this
q = Rubernate::Queries.query 'Select :o; Where IsNil(o.p1)' puts q.to_sql
will produce following sql
select o_.* from r_objects o_ left outer join r_params o_p1 on (o_.object_pk = o_p1.object_pk)
where o_p1.name = 'p1' and o_p1.name is null
That has wrong condition where o_p1.name = 'p1' and o_p1.name is null is never true.
So until this issue resolved, queries like that should be writen using native sql.