Access & edit Rails encrypted credentials in different code editors:
π I hope to meet you in person on a Ruby conference somewhere!
I speak πΊπ¦π¬π§π΅π±π«π·π©πͺπͺπΈ fluently. Ask me why :)
From Ukraine, Chernihiv
Access & edit Rails encrypted credentials in different code editors:
Hotwire Native Rails is now Tailwind 4 compatible! ππ₯³
Biggest change - how you define custom variants in V3 vs V4
This let's you to apply classes like
<div class="hotwire-native:bg-black non-hotwire-native:bg-white">
Time to upgrade to Tailwind 4! β¨
β
Troubleshoot & run upgrade tool
β
Fix tailwind:watch
β
Fix aspect ratio, dialogs, opacity, etc
π₯³ remote tailwind.config.js
Watch here:
https://superails.com/posts/tailwind-4-upgrade-228
@bradbury @lazaronixon my two go-to username-password auth solutions these days are devise (if I don't plan to override a lot) and authentication-zero (If I want something very tailored).
Rails 8 authentication is far from being production-ready
π€Youtube and Vimeo have public, unrestricted endpoint that lets you get any video attributes (title, author, thumbnail, embed_html, etc)
It is super useful if you want to allow users embed rich media into your app.
Watch SupeRails #227:
https://superails.com/posts/oembed-226
These VS Code plugins make the development experience for me and everybody on my team much better
β
See how each extension works
β
Learn to configure extensions
Watch here:
https://superails.com/posts/best-vs-code-extensions-for-ruby-on-rails-developers-for-2025-226
Busy weekend! Just upgraded my longest-running Rails app (started on Rails 4) from Rails 7.2 to Rails 8.
And published v1100 of the app to production! π₯³
Super smooth upgrade.
Only small inconvenience that I had to dig into - manually add "net-protocol" for "net-smtp"
Usually running "rails app:update" creates a lot of conflicts in my ENV files.
Exploring the @bullettrainco codebase, I found this line in each ENV initializer.
As of now, I set my configs at the end of the file, instead of overriding defaults. Easier to upgrade & see changes
Does anybody here use Typesense in production?
In the life of a man, there comes a moment when he needs to scale his search
Not handling petabytes of data? No need for Elasticsearch
Typesense is powerful, open-source, easy to sync with Rails & deploy
Here's how I add full-text typo-tolerant search server to Rails
https://superails.com/posts/typesense-search-with-ruby-on-rails-225
How to abstract, store, edit global app settings?
I think gem rails-settings cached is great:
β one tiny db table
β admin UI
β define fields, validations, defaults
β you can use it before Rails is initialized
See how I use it:
https://superails.com/posts/gem-rails-settings-cached-for-global-app-settings-224
Here's the whole process of converting a Rails app to Hotwire Native iOS with all the powerful features and Bridge Components from gem hotwire_native_rails:
https://superails.com/posts/gem-hotwire-native-rails-convert-your-rails-app-into-native-very-fast-superails-219
WHATTTT?
SupeRails Office Hours #1: Hotwire Hotline
We'll discuss Hotwire, you can ask any questions.
π Tuesday, January 7, 7:00pm GMT+1
πZoom
π©Registration (limited to 10 people): https://lu.ma/7zm353yg
π¨In exactly 60 minutes (19:00 Paris time) I will host a free Workshopπ¨
Topic: Hotwire Native + Rails = gem hotwire_native_rails
It's a meeting (not recording), so you can ask questions! ποΈποΈ
Join Here: https://us06web.zoom.us/j/87254337036
Password: hotwire
Literally the easiest way to add hotkeys to your app with StimulusJS
In the previous episode I talked about creating an internal app that would use ONLY @avo_hq
Let's try adding AVO as an admin backend to an existing Rails app https://superails.com/posts/add-avo-to-existing-app
Can we make it to 10,000 subscribers before 2025? ππ
π
https://www.youtube.com/channel/UCyr6ZTmztFW3FB4qG_97FoA?sub_confirmation=1
User.rb
validates :email, presence: true
β¬οΈ
For most users, Github oAuth does not share user email by default.
β¬οΈ
User creation via Github oAuth will often fail, if you don't explicitly require user email in oAuth settings
β¬οΈ
No matter how good you are, rolling out your own subscription engine from zero does not make sense.
Don't reinvent the wheel.
I've just replaced my own subscription engine with gem "pay". It's really good, and more maintainable long-term.
Final touch - running background jobs to sync subscriptions from Stripe to tables in my app! π
If you want to build an Internal tool or Admin dashboard in Ruby on Rails, there is no better tool than Avo.
I add Avo to all my apps and it just works for admin stuff π
Here's how you can get started building an internal, invite-only app:
https://superails.com/posts/avo-internal-tool-rails-8-authentication-invitations-tests
P.S. π @adrian