{"comment":{"created_at":"2011-10-17T23:23:53Z","body":"I am experiencing the exact same problem.  While I try to track it down, I wanted to post my Gemfile: https://gist.github.com/1294166 .  Perhaps if others do the same we can target an offending external library quicker.  ","updated_at":"2011-10-17T23:23:53Z","url":"https://api.github.com/repos/rails/rails/issues/comments/2436112","id":2436112,"user":{"gravatar_id":"74d31ca0235178ff915b2489c9a53ef2","avatar_url":"https://secure.gravatar.com/avatar/74d31ca0235178ff915b2489c9a53ef2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/ascruggs","id":23878,"login":"ascruggs"}},"action":"created","issue":{"number":3144,"created_at":"2011-09-27T13:09:04Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I'm including url_helpers in a class and am getting the following error:\r\n\r\n    stack level too deep\r\n    actionpack (3.1.0) lib/action_dispatch/middleware/reloader.rb:73\r\n\r\nMy include is as follows:\r\n\r\n    include Rails.application.routes.url_helpers\r\n\r\nThis worked in rails 3.0.  I've also tried including the UrlFor module.  The class is a PORO in app/models.","comments":7,"title":"Including url_helpers in class causes error","updated_at":"2011-10-17T23:23:53Z","url":"https://api.github.com/repos/rails/rails/issues/3144","id":1751829,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"b82c78b3ec312a993e344f03d966d4fd","avatar_url":"https://secure.gravatar.com/avatar/b82c78b3ec312a993e344f03d966d4fd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jgadbois","id":268375,"login":"jgadbois"},"html_url":"https://github.com/rails/rails/issues/3144","labels":[],"state":"open"},"legacy":{"issue_id":1751829,"comment_id":2436112}}