Topic: how do you guy manage rails version of your application ?

during my learning journey
i found something confuse
in case, if we found that rails was releasing a new update,
how could we change our code into rails latest version compatible code ?
is that we just need to change require version in the environment ?
will any problem happen while upgrade ?
how do you manage this ?
Thankx for reply...

Re: how do you guy manage rails version of your application ?

I manage this basic problem (tracking rails versions) by freezing rails into my app and then doing an upgrade when it fits into my plans and there is a benefit to it.  By freezing I am not dependent on the rails version someone might install or changes that might come along from a gem update some time.  I find developing an application is challenge enough without trying to track random changes and new bugs in the underlying system while I am about it.

YMMV
Norm