DanKnox/websocket-rails — pull request #51 by ngauthier (2013-02-28 17:56:39+00:00)
Title: use `Rails.configuration.cache_classes` instead of `Rails.env.development?` when reloading controllers

Because running in dev w/ cache classes on breaks if you try to reload.

Besides, this code is concerned with class caching and reloading, so we should base the logic on that as opposed to the assumption that the rails environment controls caching.