ignore 'Is not missing constant Foo'

pull/6827/head
Tim Felgentreff 14 years ago
parent 27be921bc9
commit 265a41eabd
  1. 2
      app/models/report/inherited_namespace.rb

@ -4,6 +4,8 @@ module Report::InheritedNamespace
module Hook
def const_missing(name, *)
super
rescue ArgumentError => error
# require 'ruby-debug'; debugger
rescue NameError => error
load_constant name, error
end

Loading…
Cancel
Save