core_ext.rb 153 B

123456
  1. # load all core_ext extensions
  2. Dir.glob( Rails.root.join('lib', 'core_ext', '**', '*') ).each do |file|
  3. if File.file?(file)
  4. require file
  5. end
  6. end