Please sign in to comment.
Add a test case of nested empty array values in conditions
Post.where(id: []).to_a Used to fail with a SQL syntax error (until 4.1): SELECT ... WHERE id in (); It now properly generate: SELECT ... WHERE 1=0;
- Loading branch information...
Showing with 4 additions and 0 deletions.