Tim Morgan
Tech Grunt · Not a member
Tim Morgan's latest activity
Thursday, January 20 2011
-
Tim Morgan commented at 8:08 PMAdam, thanks for your work on this. I had noticed a problem in the console, whenever a model using default_scope would get reloaded, this bug would cause an exc...
Wednesday, November 24 2010
-
Tim Morgan commented at 9:13 PMI just updated to Rails 3.0.3 and tested this in production mode. It works for me.
# irb require 'rubygems' require 'active_record' require 'logger' ActiveRec...
Friday, October 29 2010
-
Tim Morgan commented at 5:24 PMAre you using latest checkout of 3-0-stable or the 3.0.1 gem?
I believe my patch will only work with 3-0-stable, i.e. upcoming 3.0.2 gem.
In your Gemfile, you c...
Wednesday, October 27 2010
-
Tim Morgan commented at 8:35 PMAdam, I know the tests on edge rails pass for me as of Oct 20th (haven't tested since then), but I haven't tried it in a real app yet.
Since I am trying to upgr...
Wednesday, October 20 2010
Tuesday, October 19 2010
-
Tim Morgan commented at 10:14 PMHere is the updated commit (updated patch is attached):
http://github.com/seven1m/rails/commit/e0b73b64c30e81e5b4279ce55dd2...
-
Tim Morgan commented at 5:56 PMI just forgot about the & operator for passing the block -- that should work. I'll be happy to remove the assignment from the conditional if you think it will g...
-
Tim Morgan commented at 5:42 PMReplacing and with && would cause m to = true inside the conditional. "and" has lower operator precedence than = in Ruby.
-
Tim Morgan commented at 3:39 PMI rebased my fork, so the commit is now: http://github.com/seven1m/rails/commit/282f5bb6a6dd89d810e67f7bb864...
Can someone take a look at this?
Friday, October 15 2010
-
Tim Morgan commented at 4:56 AMThis seems to make it work:
def current_scoped_methods #:nodoc: if m = scoped_methods.last and m.is_a?(Proc) unscoped { m.call } else ...