Tanel Suurhans
Not a member
Tanel Suurhans's latest activity
Wednesday, November 24 2010
-
Tanel Suurhans commented at 8:37 PMIt seems that with Tim Morgans patch the proc for the default scope is not evaluated properly. In production mode the value inside the proc (Time.now for exampl...
Friday, September 24 2010
-
Tanel Suurhans commented at 8:35 AMThe issue is that default scopes should be stored as procs and evaluated on the last moment. Evaluating the proc when appending the scope will not work as expec...
Sunday, September 12 2010
-
Tanel Suurhans commented at 11:18 AMCould not reproduce this issue on 1.9.2-p0 or 1.8.7 with the same piece of html and javascript (latest jQuery and jQuery UI).
With both Rails versions the param...
Thursday, May 06 2010
-
Tanel Suurhans commented at 7:57 AMYou do realize that when using a route product_path(@product), it now depends on the HTTP method supplied what method will be invoked? Like PUT on that path wil...
Wednesday, May 05 2010
-
Tanel Suurhans commented at 10:44 PMHad to rework the functionality a bit, ported test provided in the previous patch and added some new ones. Also made a new example in the doc comments for usage...
Friday, April 30 2010
-
Tanel Suurhans commented at 10:39 PMProbably needs a bit more information to write a failing test-case. The fix in itself looks easy enough.
-
Tanel Suurhans commented at 10:04 PMTested this on 2-3-stable.
author = Author.find_or_create_by_name(:name => "bm", :author_address_id => 1) author.inspect # => #<Author id: 10, :name => "bm", :...
-
Tanel Suurhans commented at 4:17 PMAttached proposed fix for the original problem described in the ticket. Managed to solve the issue with relation_type field not set to nil.
Previous code didn't...
-
Tanel Suurhans commented at 2:17 PMAlso attached a patch to fix the :nullify behavior on destruction for 2-3-stable branch with tests.
-
Tanel Suurhans commented at 2:08 PMIn my opinion this is the expected behavior, as :dependent => :nullify should only null the thingy when person is destroyed.
The bug itself seems to exist on de...