How to build a complete, real-world application from scratch with Ruby on Rails step by step.
A lot of Ruby code is "magic". We'll explain the magic and see how it works using the powerful tools Ruby gives us.
Accept subscription and one-time payments with Stripe in your Rails apps
Expert advice on keeping Rails apps organized and fast.
Cheap, easy hosting for Ruby and Rails apps.
Launch your product business way faster with our SaaS template.
A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.
A few of the Open Source projects we do at GoRails.
Build a Ruby on Rails app in 48 hours with us.
Help Junior developers get hired by sharing small projects to build their resume with paid work.
Find your next Ruby on Rails Job.
Explore the differences and similarities between Json Web Tokens and Rails session cookies and why you'd want to use one over the other
A look into user accounts, registration, login, forgot your password, and more
Authenticate your API using JSON Web Tokens (JWT) using the Knock gem
Add JWT Authentication to your Rails API from scratch
Add masquerading (the ability to impersonate or login as another user) to your development or admin environments using the devise_masquerade gem
Build a basic VueJS frontend application that authenticates to the server using JWT, Rails API, and LocalStorage
Adding user avatars is pretty easy using Rails' ActiveStorage feature. We'll be using Devise in this example, but this applies to any user authentication system.
Add a Warden strategy to Devise to support JWT authentication with your Rails app
Using the devise-two-factor gem, we can add an extra layer of security to our apps by having a our users type in a one-time password along with their email and password when they login. We'll be using the Google Authenticator app to login.
Learn how to use Omniauth And omniauth-twitter to let your users authorize and connect to the Twitter API using their Twitter account with your Rails app
Setting up an OAuth provider is a great way to add authentication to your API using the doorkeeper gem
Learn how to add Facebook login via OAuth using Omniauth
Learn how to redirect your Rails app users to the current page after they login
Hotwire's Turbo library intercepts forms automatically so Devise needs a few tweaks to work with it. Learn how to do that in this screencast!
Learn how to let your users login with multiple OAuth providers like Twitter, Facebook, Github, Google, etc all at the same time.
Learn how to build a React Native application to connect to your Rails API using OAuth for authentication
Learn how to create simple API tokens for authentication with Devise
The HaveIBeenPwned Password API lets us enforce strong passwords and warn users their password has been in a data breach
Learn how to integrate Google's Recaptcha API into your forms and registration process with Rails
Learn how to use the Facebook API and refresh auth tokens using the Koala gem
Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.