Mat Schaffer
Not a member
Mat Schaffer's latest activity
Sunday, December 19 2010
-
Mat Schaffer commented at 8:38 PMOriginally I was expecting NOT IN () which at least under sqlite had the intended effect of giving me all records. But I'm pretty sure postgres didn't like that...
Wednesday, December 08 2010
-
Mat Schaffer commented at 4:35 PMLooks like both sqlite and PostgreSQL adapters (tested via heroku's console) both generate the NULL. PostgreSQL seems unhappy with the empty array though since ...
-
Mat Schaffer commented at 4:17 PMUpdate: Used [''] as a workaround on sqlite. This doesn't seem to work on PostgreSQL.
-
Mat Schaffer created the ticket at 4:12 PMThis works fine:
Comment.where("id NOT IN (?)", [1,2,3])But passed an empty array like so:
Comment.where("id NOT IN (?)", [])Generates this query which do...
Monday, July 19 2010
-
Mat Schaffer created the ticket at 8:14 PMOn MRI this isn't an issue, but on Rubinius, Dir.glob doesn't include extraneous slashes in the file path which causes the fixture -> table mapping to break.
Fi...
Wednesday, May 26 2010
-
Mat Schaffer commented at 10:22 PMSure would. I put it on my list of things to try to fix. But in the meantime:
@yehuda: is there some reason for this behavior? Performance maybe?
-
Mat Schaffer commented at 9:51 PMBump. Just ran into this today.
Mixing in all helpers into every renderer pretty much defeats the purpose of having per-controller helpers. With the current beh...
Friday, May 07 2010
-
Mat Schaffer commented at 3:34 AMThat rackinput.diff patch seems to do the trick for my app. Good find, Lawrence!
I also did a test app without any middleware and was able to produce this under...
-
Mat Schaffer commented at 2:43 AMThanks for the clarification, Lawrence. If it helps, the app in question is using Rack::URLMap in config.ru (for switching between the main app and Resque::Serv...
Thursday, May 06 2010
-
Mat Schaffer commented at 2:40 PMJust thought I'd mention that we've hit this running in production mode as well. Thanks for your work on this, looking forward to a fix.