rails/rails — pull request #13551 by vipulnsward (2013-12-30 22:01:34+00:00)
Title: Fix querying an array field with empty arrays.

Previously for an array field, when a nil value was passed for querying it was compacted, and proper handling

of value in such compacted array was done there onwards to generate SQL.

This commit tried to expand this behavior to handle empty arrays the same way as an array with nil values,
for proper SQL generation while querying an array field.

Fixes #13479 .