I am working on a Rails 4 site (Ruby 2.1.2) and using haml (4.0.5) for the site templates.
I have a page with this code:
%section %h1 Info %h2 More info
This works fine and the page is displayed. However, if I change it to:
%section#info %h1 Info %h2 More info
I get this error:
stack level too deep
And the only trace is:
airbrake (4.0.0) lib/airbrake/rails/middleware.rb:16
This is odd as this path does not exist in my app.
Any ideas on why this change in HAML would cause this error? What does this error mean?
Also what is the best troubleshooting method or approach to track this down on my own?