Jan Xie
Not a member
Jan Xie's latest activity
Monday, June 28 2010
-
Jan Xie created the ticket at 9:11 AMtest case example:
class PostDraft < Post set_table_name 'post_drafts' end assert_difference("PostDraft.count") do Post.set_table_name 'posts' Post.crea...
Wednesday, June 23 2010
-
- Tag changed from 2.3, 2.3.5, activerecord, bug, default_scope, named_scope, patch, verified to rails 3.0.0.beta4, 2.3, 2.3.5, activerecord, bug, default_scope, named_scope, patch, verified
I just met the same problem today, I'm using edge rails (version string = Rails 3.0.0.beta4). Should I create a different ticket?
Thursday, May 20 2010
-
Jan Xie commented at 10:43 AMI tried this way (and many other ways) of using :dependent, I think it doesn't work (I'm using rails on github). And in rails code it says:
# *Warning:* This... -
Jan Xie created the ticket at 4:19 AMThere is a _destroy key for nested model now, which indicates to destroy the associated object when set to true. It would be great if rails can also add a _dele...
Tuesday, May 12 2009
-
Jan Xie commented at 4:19 AMThough I think it will work at most time, yes it will break some finder_sql. To make it works in all cases, a mini sql parser need to be introduced, which doesn...
Monday, May 11 2009
Thursday, April 02 2009
-
Jan Xie created the ticket at 8:15 AMAssociationCollection#count method won't take conditions in arguments into account if there is finder_sql or counter_sql. e.g.
class User has_many :photos, :fin...
Wednesday, February 04 2009
-
Jan Xie commented at 4:30 PMHi,
I tested in edge rails (clone from github), can't reproduce the problem.
Processing ContactsController#create (for 127.0.0.1 at 2009-02-05 00:28:22) [POST] ...