rescue NameError instead of NoMethodError
rescue NameError instead of NoMethodError

depending on where/when a magic_attribute is set, it can sometimes throw a NameError instead of NoMethodError
Registria/has_magic_columns