Andrew Selder
Web Developer · Not a member
Andrew Selder's latest activity
Wednesday, April 27 2011
-
Andrew Selder commented at 8:12 PMI've updated the normalize parameters portion of joost's patch.
This checks to make sure that the parameter is acutally valid in the UTF-8 encoding. If it's not...
Thursday, December 09 2010
-
Andrew Selder commented at 4:25 AMAfter talking to some of the guys over on the core mailing list, this tables_in string was a temporary hack in the move to preloading. It will probably be comin...
-
- Tag changed from 2.3.10, 3.0.3, active_record, patch, tables_in_string, verified to 2.3.10, 3.0.3, active_record, tables_in_string
Jeremy Evans found a case where the regex doesn't work (embedded escaped quote in literal).
I'll have the regex fixed and new patches up shortly.
-
-
- Tag changed from 2.3.10, 3.0.3, active_record, patch, tables_in_string to 2.3.10, 3.0.3, active_record, patch, tables_in_string, verified
-
- Tag changed from 2.3.10, 3.0.3, active_record, patch, tables_in_string, verified to 2.3.10, 3.0.3, active_record, patch, tables_in_string
readding patches with the ticket update keyword stuff in commit comment
-
- Tag changed from 2.3.10, 3.0.3, active_record, tables_in_string to 2.3.10, 3.0.3, active_record, patch, tables_in_string
Let's actually try attaching this time.
-
Andrew Selder commented at 12:50 AMHere are a couple of patches against master and 2-3-stable.
It implements the regex I mentioned above.
Wednesday, December 08 2010
-
Andrew Selder commented at 11:36 PMSimon's regex above is not sufficient unfortunately.
Two problems:
- The first gsub's pattern is greedy, so if you have multiple literals table names can get mis...
-
- Tag set to 2.3.10, 3.0.3, active_record, tables_in_string
- Importance changed from to
This is still an open issue in ActiveRecord 3.0.3 and 2.3.10
bad = "((((((LOWER(events.
name) LIKE '%ga.fs%')))) AND (events.delete_flag = 0)) AND (events.date >...