Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/2called-chaos/circular_dependency

Demonstration of circular dependency error with Rails 4 + namespaces concerns in development
https://github.com/2called-chaos/circular_dependency

Last synced: about 2 months ago
JSON representation

Demonstration of circular dependency error with Rails 4 + namespaces concerns in development

Awesome Lists containing this project

README

        

# Circular dependency error

This is a demonstration of how to provoke the circular dependency error when using namespaced concerns
with Rails 4.

## HowTo

1. Start server, visit the page (you get the raise message)
2. Reload the page (you get Circular dependency warning)
3. comment out the raise and reload the page (ruby process hangs at 100% CPU)