Daniel Guettler
Not a member
Daniel Guettler's latest activity
Wednesday, July 14 2010
-
- Assigned user cleared.
I did some more testing and yes Arel::SqlCompiler adds to the total run time e.g.
Test case: puts Benchmark.measure{5000.times{User.where(:id => (rand * 1000 +... -
Daniel Guettler commented at 1:13 AMMiles,
keep in mind that User.where(:id => ... ) isn't actually hitting the database unless you try to access it. Which means User.find(...) is loading and inst...
Monday, July 12 2010
-
Daniel Guettler commented at 8:17 PMJust to chime in here. Here are my results for Rails 2.x and Rails 3.x for both Ruby 1.8.7 and 1.9.1
Rails 2 & Ruby 1.8.7 ====================================...
Monday, January 18 2010
-
Daniel Guettler commented at 4:57 AMUpps, this should say: 'validate is defined as private in the given example'...
-
Daniel Guettler commented at 4:55 AMThe reason why this is failing is because validate is a private method and overriding 'validate' is a deprecated callback. So this calls 'deprecated_callback_me...
-
Daniel Guettler commented at 4:28 AMI cannot reproduce this; logs look fine to me using the latest version of rails. I tried both sqlite and mysql.
Migrating to CreateOrders (20100118042221) SQ...
Monday, December 28 2009
-
Daniel Guettler commented at 8:43 PMI think the reason for this would be that the "_action_has_layout?" method returns false if you use the "layout" method to set the layout with conditions and th...
Monday, October 26 2009
-
- Tag changed from activerecord, bugmash to activerecord, bugmash, patch, tests
The attached patch contains the tests Dira added plus the changes needed to make it pass. Basically it adds an empty hash to the scoped_methods before yielding ...
Friday, July 24 2009
-
- Tag changed from engines, helpers, plugins to engines, helpers, patch, plugins, test
+1, I had this added in older Rails versions as well. I attached an actual patch to make this happen.
Wednesday, July 08 2009
-
Daniel Guettler commented at 4:53 PMI have to agree with Sven. Currently I'm using the Desert plugin to be able to split our application apart and reuse parts of it in other applications. I'm look...