This project is archived and is in readonly mode.
ActiveRecord range condition with Time objects produces unquoted date strings in SQL
-
Santiago Pastorino
Can you provide a patch? or a the failing test?
-
Santiago Pastorino
- State changed from new to open
- Milestone cleared.
-
Jeremy Kemper
- Assigned user set to Pratik
-
Santiago Pastorino
I've patched arel the problem is there.
http://github.com/spastorino/arel/commit/5aec4b2391d1474472519c4238...
I sent a pull request -
Santiago Pastorino
- State changed from open to verified
- Tag changed from activerecord 3.0, activerecord, postgresql, rails3, range to activerecord 3.0, activerecord, patch, postgresql, rails3, range
-
Emilio Tagua
Santiago this issue is already fixed in brynary/arel:
http://github.com/brynary/arel/commit/e74bbd6830f5ca5f0ab1fe9f2f645...
You should fork this repository since now is the official one for maintenance.
-
Emilio Tagua
Santiago this issue is already fixed in brynary/arel:
http://github.com/brynary/arel/commit/e74bbd6830f5ca5f0ab1fe9f2f645...
You should fork this repository since now is the official one for maintenance.
-
Santiago Pastorino
Ok thanks, maybe a link from nkallen's arel to brynary could help.
The exercise of redoing that things was very nice anyways.Why you don't release a fixed version of arel? it's an important thing, i think.