[Rails] What happened to Rails::Version::STRING in Rails 1.0.0?
Rafał Komorowski
komor at mac.com
Tue Jan 3 10:21:18 GMT 2006
On 02/01/2006, at 03:55, Jamis Buck wrote:
> Yup, there's a reason. The reason is that having Rails::Version
> caused conflicts with models named Version (because of the way the
> auto-loading code works).
Thanks for the info.
> This issue will be revisited in later Rails releases, though, so
> please don't think this was an attempt to just sweep it under the rug.
I see :-)
I hope this will be unchangeable behaviour, once set in first final
release (that is 1.0). I'm pretty sure you understand (better than
me) that version-checking is a sensitive matter, since it's the way
to make sure my application will behave properly or can be run in the
particular environment at all. For now I can just forget about
anything older that v1.0 (but not everyone can, right?) and use the
new syntax Rails::VERSION. If this breaks in next releases, then the
whole idea of version checking is broken.
Anyway, thanks for the info, thanks for the Rails :-) and happy new
year.
--
Rafał Komorowski
komor at mac.com
GG: 4083718
<http://homepage.mac.com/komor/iblog/>
More information about the Rails
mailing list