Skip to content

Commit

Permalink
Moved core_ext to within squeel namespace.
Browse files Browse the repository at this point in the history
There is a rare chance of conflicting paths with just core_ext/hash; this can
prevent squeel core extensions from be loaded, or prevent others from being
loaded.
  • Loading branch information
RichGuk committed Jan 19, 2012
1 parent 6fa0117 commit 35204ba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/squeel/configuration.rb
Expand Up @@ -34,7 +34,7 @@ def configure
# @param [Symbol] sym2 :hash or :symbol
def load_core_extensions(*exts)
exts.each do |ext|
require "core_ext/#{ext}"
require "squeel/core_ext/#{ext}"
end
end

Expand All @@ -51,4 +51,4 @@ def alias_predicate(new_name, existing_name)
end

end
end
end
File renamed without changes.
File renamed without changes.

0 comments on commit 35204ba

Please sign in to comment.