News for hackers. Stuff that matters.
Re:Careful with That Lock, Eugene by Empact on Saturday April 13, 2024 @07:05PM (#40027024)
In the Rails world, the gem strong_migrations can be used to detect these: https://github.com/ankane/strong_migrations

The docs include a handy articulation of fixes.

Re:Careful with That Lock, Eugene by tnmom on Saturday April 13, 2024 @08:15PM (#40027496)
ankane is some kind of superhuman cyborg. Seems like about 25% of the really useful gems I use have that name in the URL...
Re:Careful with That Lock, Eugene by hamilyon2 on Sunday April 14, 2024 @05:08AM (#40029818)
Pghero is kind of gem
Re:Careful with That Lock, Eugene by alflervag on Sunday April 14, 2024 @03:56AM (#40029473)
Nice, I wasn’t aware of this one.
Re:Careful with That Lock, Eugene by rkaveland on Sunday April 14, 2024 @05:57AM (#40030007)
This is super cool, I love how it suggests safer ways to achieve the same goal for many common risky migrations. Definitely going to sit down and study these.