TLDR: Definitely worth upgrading. Approximately hundreds of small bug fixes, across much of Rails. The fixes include some important ones for database types, time comparisons, thread issues, record reloading, etc. IMHO these fixes address dozens of bugs that could cause major puzzlement for a typical Rails developer. Thanks to all the contributors for excellent work on this release.
> IMHO these fixes address dozens of bugs that could cause major puzzlement for a typical Rails developer. That has been the reason I always avoid huge frameworks like RoR. If I was to hit a bug like this, I wouldn't know where to start debugging. How do people deal with obscure bugs in the framework with something like RoR?
Rails 5.0.1 has been released
11–20 of 57 posts
Re: Rails 5.0.1 has been released
#12Re: Rails 5.0.1 has been released
#13TLDR: Definitely worth upgrading. Approximately hundreds of small bug fixes, across much of Rails. The fixes include some important ones for database types, time comparisons, thread issues, record reloading, etc. IMHO these fixes address dozens of bugs that could cause major puzzlement for a typical Rails developer. Thanks to all the contributors for excellent work on this release.
One of the best (or worst) bugs fixed was the aborted transaction for PGsql. I am pretty sure hundreds of Rails developers are battling it every day and don't understand where it's coming from. Even if you don't upgrade, this is something you should backport using a monkeypatch.
> Restore aborted transaction state when disable_referential_integrity fails due to missing permissions.
Re: Rails 5.0.1 has been released
#14Earlier quoted context omitted.
> IMHO these fixes address dozens of bugs that could cause major puzzlement for a typical Rails developer. That has been the reason I always avoid huge frameworks like RoR. If I was to hit a bug like this, I wouldn't know where to start debugging. How do people deal with obscure bugs in the framework with something like RoR?
They probably do it with all the spare time they have from using a framework to handle so many other features.
If you hit however in production and only under load or some corner cases, it must be a real bitch to try to debug code that you haven't wrote yourself.
But since my original post is being seen as a troll, I think I will just shut-up and go hide under a rock or something. :D
Re: Rails 5.0.1 has been released
#15TLDR: Definitely worth upgrading. Approximately hundreds of small bug fixes, across much of Rails. The fixes include some important ones for database types, time comparisons, thread issues, record reloading, etc. IMHO these fixes address dozens of bugs that could cause major puzzlement for a typical Rails developer. Thanks to all the contributors for excellent work on this release.
Bugs from 5.0.0 or from 4.whatever? If it's the latter then bug fixes should be going there, not in a new major release.
Re: Rails 5.0.1 has been released
#16Earlier quoted context omitted.
They probably do it with all the spare time they have from using a framework to handle so many other features.
If you are lucky enough to hit it during development or testing, then yes, fair point. If you hit however in production and only under load or some corner cases, it must be a real bitch to try to debug code that you haven't wrote yourself. But since my original post is being seen as a troll, I think I will just shut-up and go hide under a rock or something. :D
I'll also try to explain why:
A few weeks later I have forgotten the specifics about my own code as well.
Also: often there are fewer bugs in library code.
And: getting help (paid or through stackoverflow) is probably easier.
Re: Rails 5.0.1 has been released
#17TLDR: Definitely worth upgrading. Approximately hundreds of small bug fixes, across much of Rails. The fixes include some important ones for database types, time comparisons, thread issues, record reloading, etc. IMHO these fixes address dozens of bugs that could cause major puzzlement for a typical Rails developer. Thanks to all the contributors for excellent work on this release.
One of the best (or worst) bugs fixed was the aborted transaction for PGsql. I am pretty sure hundreds of Rails developers are battling it every day and don't understand where it's coming from. Even if you don't upgrade, this is something you should backport using a monkeypatch.
Re: Rails 5.0.1 has been released
#18Earlier quoted context omitted.
One of the best (or worst) bugs fixed was the aborted transaction for PGsql. I am pretty sure hundreds of Rails developers are battling it every day and don't understand where it's coming from. Even if you don't upgrade, this is something you should backport using a monkeypatch.
Do you have a link to the bug or the fix? We've seen this in prod for sure.
Re: Rails 5.0.1 has been released
#19Earlier quoted context omitted.
If you are lucky enough to hit it during development or testing, then yes, fair point. If you hit however in production and only under load or some corner cases, it must be a real bitch to try to debug code that you haven't wrote yourself. But since my original post is being seen as a troll, I think I will just shut-up and go hide under a rock or something. :D
Definitely not a troll I think. I guess downvoted because of disagreement. I'll also try to explain why: A few weeks later I have forgotten the specifics about my own code as well. Also: often there are fewer bugs in library code. And: getting help (paid or through stackoverflow) is probably easier.
Fair enough :D
> A few weeks later I have forgotten the specifics about my own code as well.
> Also: often there are fewer bugs in library code.
> And: getting help (paid or through stackoverflow) is probably easier.
I can definitely see your point, especially about being easier to get help. I imagine if you are anything other than a one man shop, you will be in much better position debugging Rails or Django, rather than trying to figure out the mess you ex-employee left.
Re: Rails 5.0.1 has been released
#20TLDR: Definitely worth upgrading. Approximately hundreds of small bug fixes, across much of Rails. The fixes include some important ones for database types, time comparisons, thread issues, record reloading, etc. IMHO these fixes address dozens of bugs that could cause major puzzlement for a typical Rails developer. Thanks to all the contributors for excellent work on this release.
> IMHO these fixes address dozens of bugs that could cause major puzzlement for a typical Rails developer. That has been the reason I always avoid huge frameworks like RoR. If I was to hit a bug like this, I wouldn't know where to start debugging. How do people deal with obscure bugs in the framework with something like RoR?