ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1K
active users

jcn

I’ll probably regret asking, but what are people’s preferred gems these days?

I’ve used but hated . Have no opinions on . Really enjoyed but it seems like there’s a v1 rewrite happening which I am always suspicious of. I have been reading up on but since this is going to be a app I’m hesitant to jam into it. And does the answer change for an api-only app?

The answer is to suck it up and use devise isn’t it?

@jcn If I was starting from scratch I would probably outsource to a service like auth0. Authentication is constantly changing and getting more complex (password, 2fa, saml, oauth, oidc, webauthn,...). No matter what gem you use you'll be constantly messing with it for the life of your app, catching up to new standards, etc rather than working on the fun parts.

@scott I’m not sure my little toy app is going to warrant a third party service. But even still something will need to integrate with, say, google OAuth on the ruby side.