disable spec profiling
make @to_sql react on ids changes
fix 4.2 incompatibility
optimize using symbol to proc
optimize hash construction