rails/rails — comment on commit 80256abb39332dd49996b909d6f0413a15291a90
File: activesupport/lib/active_support/file_update_checker.rb line 55
By jeffrafter:

Well, engines tend to rely on rails internals and I feel like watching files to update routes is a common pattern. This class is part of ActiveSupport and changed its initializer without any deprecation notice. I just think this is going to break a fair number of engines (and named two). There is not a good way to detect which version of the file people are using either... I am just looking for an easier path for engines to be able to support multiple versions of rails.

Jeff

On Jan 17, 2012, at 3:16 PM, José Valim wrote:

> Sorry, but I don't understand exactly what do you mean. This class is pretty much internal to Rails. The documentation is only for people that wishes to implement their own file updater. In other words, this implementation is internal to Rails, but the contract used by the reloader should be stable from 3.2 on. Maybe we should add such a note to this class docs?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/rails/rails/commit/80256abb39332dd49996b909d6f0413a15291a90#commitcomment-876271