Work around a weird Rails constant loading behaviour
This can be demonstrated as the following: EE.const_get('API::Appearance', false) # => Appearance EE.const_get('API::Appearance', false) # => raise NameError Getting a NameError is what we're expecting here, because EE::API::Appearance doesn't exist.
Showing
Please register or sign in to comment