lib/fishplate.rb in fishplate-0.4.0 vs lib/fishplate.rb in fishplate-0.4.1

- old
+ new

@@ -38,10 +38,10 @@ def logger @logger ||= ::Logger.new(STDOUT) end def setup! - Dir.glob(A9n.root.join('config/initializers/*.rb')).each { |f| require f } + A9n.root.join('config/initializers').glob('*.rb').each { |f| require f } # Check active_record/railtie for default config ActiveRecord::Base.logger = logger ActiveRecord::Base.time_zone_aware_attributes = true ActiveRecord::Base.default_timezone = :utc