Permalink
Browse files

creating a new array is required. who knew? :-(

  • Loading branch information...
1 parent 7108daf commit 2820addea782c57c17efab0b9beb4228f26b035c @tenderlove tenderlove committed Sep 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/relation/query_methods.rb
@@ -277,7 +277,7 @@ def build_select(arel, selects)
def apply_modules(modules)
unless modules.empty?
- @extensions.concat modules
+ @extensions += modules
modules.each {|extension| extend(extension) }
end
end

0 comments on commit 2820add

Please sign in to comment.