fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.8K
active users

#rails

40 posts27 participants6 posts today

I happen to agree a lot with @Amanda Perino here.

That’s why I almost always comment on Hacker News or any forum where I see people still spreading old narratives about #Ruby and #Rails and try to present facts and debunk false statements.

I was looking at ye olde Rails gem "acts_as_list" and discovered github.com/brendon/positioning

This seems like a solid evolution of that idea. I can tell the author has learned a lot about this category of rails functionality.

I don't love how it has locks and juggles positions to avoid unique index violations 🤔 I think that can be avoided in postgresql with a deferred unique constraint and a transaction, but not every db supports that (not as portable).

Simple positioning for Active Record models. Contribute to brendon/positioning development by creating an account on GitHub.
GitHubGitHub - brendon/positioning: Simple positioning for Active Record models.Simple positioning for Active Record models. Contribute to brendon/positioning development by creating an account on GitHub.