Pratik
Rails Hippy · Account member
Pratik's latest activity
Monday, March 09 2009
-
Pratik commented at 7:00 PMHere are some benchmarks with 100k rows ( forget millions ).
[lifo@null]$ script/performance/benchmarker 1 'Item.all(:limit => 5, :order => "rand()")' ... -
- Assigned user set to Pratik
- State changed from new to wontfix
- Title changed from [PATCH] add support for :order => :random in queries to Add support for :order => :random in queries
ORDER BY RAND() usually have a performance implication. Finding random records doesn't really have a single solution for all the possible scenarios. Also, for t...
2181
Default Scope with conditions on create
was updated
in Ruby on Rails
2179
ActiveResource not eager loading namespaced models
was updated
in Ruby on Rails
-
- Assigned user set to Pratik
- State changed from new to incomplete
Could you please upload a patch using git-format-patch ? http://guides.rails.info/contrib... should help.
Also, your patch seems to be missing the tests.
Thank...
1855
Return associated records not proxies from readers of non-collection associat...
was updated
in Ruby on Rails
-
- Tag changed from activerecord, association, associations, association_proxy to activerecord, association, associations, association_proxy, patch
- Title changed from [PATCH] return associated records not proxies from readers of non-collection associations to Return associated records not proxies from readers of non-collection associations
1966
Destroy should respect optimistic locking
was updated
in Ruby on Rails
-
- Assigned user set to Pratik
- Title changed from [patch] Destroy should respect optimistic locking to Destroy should respect optimistic locking
-
- Assigned user set to Pratik
- State changed from new to wontfix
just_created? should return false for new records. Also, let's wait till someone else wants the same feature, then I'll push it.
Thanks.
1973
link_to :method may append FORM within FORM
was updated
in Ruby on Rails
-
- Assigned user set to josh
- State changed from new to incomplete
- Title changed from [patch] link_to :method may append FORM within FORM to link_to :method may append FORM within FORM
Patch should have tests too.