This project is archived and is in readonly mode.
default_scope for select option builds invalid SQL.
-
Emili Parreño
- Tag set to activerecord, count, mysql, patch
Is an error in construct_count_options_from_args(*args) method when build the sql sentence
Fix for this bug in the pacth file
-
Pratik
Hi Emili,
The patch needs failing tests.
Thanks!
-
Emili Parreño
I attach the patch with tests
-
Emili Parreño
What about this patch? I sent the patch with tests.
-
Rohit Arondekar
- State changed from new to stale
- Importance changed from to
Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.
