Permalink
Browse files

Stricter FindAssociatedRegex

  • Loading branch information...
1 parent 2aa568a commit 7aad6b95cd04e03d8691d9caa12fb3c633149bad @methodmissing committed Mar 19, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/optimizations/associations/macro.rb
@@ -27,7 +27,7 @@ def scrooge_installable?
module SingletonMethods
@@preloadable_associations = {}
- FindAssociatedRegex = /find_associated_records/
+ FindAssociatedRegex = /preload_associations|preload_one_association/
def self.extended( base )
eigen = class << base; self; end

0 comments on commit 7aad6b9

Please sign in to comment.