…ped with symbols for version comparison.
That integer is rather irrelevant, the only thing that matters is that it is consistent and with no apparent bias. Zlib.crc32 is 8-10 times faster than bytes.sum, so use that.
…e wildcard of the assets path because in ruby 1.9 is not consistent
This caused that `find_each` was producing extra db call taking all the records from db, and was less efficient than `ActiveRecord::Base#all`.
For production - leave the default For test and dev: :strict.
…erformance gain for cases where the association is never used to load the target, for example with preloading. Related: #1873.
…th conditions and includes, when condtions references tables from includes. Test fail because of invalid sql: ActiveRecord::StatementInvalid: SQLite3::SQLException: no such column: comments.id: SELECT "posts".id FROM "posts" INNER JOIN "readers" ON "posts"."id" = "readers"."post_id" WHERE "readers"."person_id" = 1 AND (comments.id is null) Bug described in github#925 This commit will revert fix from rails@3436fdf , but tests is ok. Bug described in #6569 ticket.