Reputation: 45943
I see that some people are updating their apps to Rails 3.1. When is the best time to update a production app? As soon as it is released? When the next stable version is released? A major release like Rails 4?
Currently running 3.07 app on Heroku.
Thanks.
EDIT: Yes, running Ruby 1.92p180.
Upvotes: 4
Views: 124
Reputation: 96484
Tests definitely.
The answer also depends on a lot of other factors about your setup such as:
Generally I would wait 2-3 months. Especially so with Rails 3.1 as there were quite a few changes with this 'dot' release, although again tests should help - though that'll depend on their availability and completeness.
Upvotes: 2
Reputation: 20232
When all your tests pass.
I normally wait til at least the .1 release to update an existing production app. But i have apps runnig on 3.1 as they where developed using the betas and RCs, and so far no issues.
But seriously when all your tests pass.
Upvotes: 1