I’m starting to work no migrating an app. from 1.1.6 to 1.2.3 and the
deprecation warnings are very helpful and detailed enough, I think.
However, it would be really nice to know the earliest version for which
a given solution may be used, so that I know how many fixes I can
backport to 1.1.6.
For example, if I see this:
“DEPRECATION WARNING: The :exclusively_dependent option is deprecated
and will be removed from Rails 2.0. Please use :dependent =>
my question would be, is it possible to make the appropriate changes
under 1.1.6 or not? In the absence of such information, I assume that
none of these changes will work under 1.1.6.
It seems very possible that changes to certain things may make it into
the core distribution before any associated deprecation warnings.
Are there any plans to either a) identify the earliest version for the
new idiom as part of the deprecation warning, or b) simply identify the
first version that a particular API call made it into Rails (for the
Java folk among you, this may sound something like the @since directive
Or is it guaranteed that deprecation warnings go into Rails on the same
version as new features (in which case, we can just assume that all of
the changes must occur simultaneously with a Rails version update).