lib/spaceship/base.rb in spaceship-0.36.0 vs lib/spaceship/base.rb in spaceship-0.36.1
- old
+ new
@@ -121,10 +121,11 @@
end
include(mapping_module(@attr_mapping))
else
begin
@attr_mapping ||= ancestors[1].attr_mapping
- rescue NameError, NoMethodError
+ rescue NoMethodError
+ rescue NameError
end
end
return @attr_mapping
end