Arthur Zapparoli
Backend Developer · Not a member
Arthur Zapparoli's latest activity
Monday, August 10 2009
Sunday, August 09 2009
-
- Tag changed from 2.3.3, activerecord, bugmash, conditions, joins, named_scope, sql to 2.3.3, activerecord, bugmash, conditions, joins, named_scope, sql, verified
+1 for Tristan's patch. Applies cleanly to 2-3-stable and master.
Nice catch! :)
-
Arthur Zapparoli commented at 5:50 PMHere's the SQL generated for Comment.enabled.post_desktop
SELECT `comments`.* FROM `comments` INNER JOIN `posts` ON `posts`.id = `comments`.post_id WHERE ((`co... -
Arthur Zapparoli commented at 5:40 PMOk, this is really weird. I think it is related directly to the model name (or only the first letter). I was trying to create a failing test patch, but, after p...
-
Arthur Zapparoli commented at 5:33 AMVerified this generates invalid SQL on 2-3-stable
Besides working with conditions Array, it also works with:
class Widget < ActiveRecord::Base belongs_to...
-
Arthur Zapparoli created the ticket at 8:33 PMI've attached patch which removes two duplicated tests from belongs_to_association_test.rb.
Patch applies cleanly for 2-3-stable and master.
-
Arthur Zapparoli commented at 8:05 PM+1 for the idea, -1 for the patch
Dira: I agree with José Valim, and think this patch needs to be applied using the existing AR models on the test suite.
Also, ...
-
Arthur Zapparoli commented at 7:58 AM+1 for this patch
Vladimir's patch solve the issue and applies cleanly to 2-3-stable
-
Arthur Zapparoli commented at 5:45 AMnot reproducible in 2-3-stable
created the bug_test.rb file above, and it reproduced a test Error, instead of killing the test run.