lib/rails_erd/tasks.rake in rails-erd-1.5.1 vs lib/rails_erd/tasks.rake in rails-erd-1.5.2

- old
+ new

@@ -31,10 +31,10 @@ say "Loading code in search of Active Record models..." begin Rails.application.eager_load! if Rails.application.respond_to?(:config) && !Rails.application.config.nil? - Rails.application.config.eager_load_namespaces.each(&:eager_load!) + Rails.application.config.eager_load_namespaces.each(&:eager_load!) if Rails.application.config.respond_to?(:eager_load_namespaces) end rescue Exception => err if Rake.application.options.trace raise else