James Le Cuirot
Not a member
James Le Cuirot's latest activity
Thursday, March 26 2009
-
James Le Cuirot created the ticket at 2:46 PMYet another problem with default_scope, I'm afraid, and quite a serious one. It's being ignored during eager loading.
class Tagging < ActiveRecord::Base b...
Wednesday, March 25 2009
-
-
James Le Cuirot commented at 4:05 PMRegarding the example posted by David, this is happening because default_scope should be checking whether :conditions is a hash. Instead it is checking whether ...
Tuesday, March 24 2009
-
James Le Cuirot commented at 11:11 PMSorry but I'm concerned that this will get overlooked unless it is reopened.
-
James Le Cuirot created the ticket at 11:01 PMI just upgraded my application to 2.3 and pagination started generating invalid SQL. Admittedly 2.2 hadn't been calculating the pages properly before either but...
Sunday, March 08 2009
-
James Le Cuirot commented at 3:09 PMJust realised the call to "compact" in the schema dumper can now be removed.
-
James Le Cuirot commented at 3:04 PMThe patch already fixes change_column. There is still a " type != :primary_key" condition in the base definition of type_to_sql but the MySQL definition deals w...
-
James Le Cuirot commented at 1:13 PMActually, to expand on what I just said about change_column not working, it's not merely a case of allowing the limit option to take effect because output from ...
-
James Le Cuirot commented at 1:09 PMchange_column ignores the limit option for primary keys so that doesn't work.
Although the patch looks a little big, it actually simplifies the existing code by...