Permalink
Browse files

Merge commit 'tarmo/2-1-stable' into upgrade

  • Loading branch information...
2 parents 11d9669 + 0528758 commit f47767696479391fbdb967f1321478d4c338cecc @NZKoz NZKoz committed Aug 25, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/named_scope.rb
@@ -103,7 +103,7 @@ class Scope
attr_reader :proxy_scope, :proxy_options
[].methods.each do |m|
- unless m =~ /(^__|^nil\?|^send|^object_id$|class|extend|^find|count|sum|average|maximum|minimum|paginate|first|last|empty?|respond_to?)/
+ unless m =~ /(^__|^nil\?|^send|^object_id$|class|extend|^find$|count|sum|average|maximum|minimum|paginate|first|last|empty?|respond_to?)/
delegate m, :to => :proxy_found
end
end

0 comments on commit f477676

Please sign in to comment.