Jan Xie
Not a member
Jan Xie's latest activity
Saturday, October 16 2010
5819
typo in abstract_renderer?
was created
in Ruby on Rails
-
Jan Xie created the ticket at 4:15 AMhttp://github.com/rails/rails/blob/master/actionpack/lib/action_vie...
:vew should be :view?
Friday, October 15 2010
5488
default_scope doesn't work at a late point
was updated
in Ruby on Rails
-
Jan Xie commented at 11:48 AMThe new test I added is in relation_scoping_test.rb, try with TEST=test/cases/relation_scoping_test.rb?
-
Jan Xie commented at 11:46 AMThe real problem is default_scope doesn't merge where clauses correctly. Sorry for my inaccurate description in original ticket.
-
Jan Xie commented at 11:32 AMDo you mean reset_scoped_methods in default_scope will cause the following run more times?
Thread.current[key] = Thread.current[key].presence || self.default_s...
Tuesday, October 12 2010
5488
default_scope doesn't work at a late point
was updated
in Ruby on Rails
-
- Tag changed from activerecord, default_scope, thread to activerecord, default_scope, patch, thread
Here's a patch with tests.
Sunday, August 29 2010
5488
default_scope doesn't work at a late point
was updated
in Ruby on Rails
-
-
Jan Xie created the ticket at 4:19 AMI think there may be a problem with this line:
http://github.com/rails/rails/blob/master/activerecord/lib/active_r...
If scoped_methods invoked at an early poi...