Sign in

Yaroslav Shmarov

@yarotheslav.bsky.social
1.4K followers 309 following 348 posts

Learn Hotwire Native & Launch your Rails app on mobile ➡️ superails.com/playlists/turbo-native

PostsRepliesMedia
Yaroslav Shmarov @yarotheslav.bsky.social · 03/08/2026
Want to set up Active Storage with Cloudflare R2? This blogpost will save your agent a billion tokens and 5 prod deploys: blog.superails.com/cloudflare-r...
blog.superails.com
Cloudflare R2 + Active Storage: every error I hit, and the fix
Cloudflare R2 is S3-compatible object storage with zero egress fees and a free custom domain in front of Cloudflare’s CDN. For a Rails app on a single Hetzner box behind Kamal, that is exactly what yo...
010
Yaroslav Shmarov @yarotheslav.bsky.social · 25/07/2026
Introducing gem "testimonials" - inhouse testimonial collection engine & public wall of love API. The best SOCIAL PROOF engine, for FREE inside your Rails app! show your appreciation & star the gem now: github.com/yshmarov/tes... or even better: bundle add testimonials #rubyonrails
110
Yaroslav Shmarov @yarotheslav.bsky.social · 24/07/2026
rails engine ideas: 1. 🈳 i18n proofreading ✅ 2. 🐞 let users submit ideas / bugs ✅ 3. ⭐let users submit testimonials / wall of love ❓ 4. 💬let users talk to support agents (built-in Intercom) ❓ any other ideas? any other software that can be a mountable feature?
000
Yaroslav Shmarov @yarotheslav.bsky.social · 23/07/2026
There are many SaaS tools that let users report bugs or submit feature requests. Did you know there was a Rails gem for this? `bundle add feedback-engine` & start receiving bug reports now: github.com/yshmarov/fee...
000
Yaroslav Shmarov @yarotheslav.bsky.social · 21/07/2026
AI-translated your Rails app? Great. Now let users catch what it missed. Gem "i18n-feedback" lets a proofreader click any string in the running app and suggest a fix. Every suggestion is saved in the db. Devs / AI can evaluate and apply suggestions. The gem: github.com/yshmarov/i18...
010
Yaroslav Shmarov @yarotheslav.bsky.social · 27/05/2026
"Join us for a free live class." is one of my favorite things on Basecamps refreshed website. Does this actually help b2b conversions?
000
Yaroslav Shmarov @yarotheslav.bsky.social · 27/04/2026
I'm building ethicsportal.eu/subprocessors/, and it requires 100% EU subprocessors. Storage? 🚫 R2 🚫 S3 ✅ Hetzner 🇩🇪 Emails? 🚫 SES 🚫 Postmark ✅ Mailjet 🇫🇷 At the moment only the marketing website is on Cloudflare
110
Yaroslav Shmarov @yarotheslav.bsky.social · 19/04/2026
Finally, I moved my last project from Heroku to Kamal+Hetzner. Over 11 years I paid $3970 for Heroku hobby projects Lately running ANY experiment app cost me ~$24/mo (webserver,postgres,worker). Now I'll be paying ~$5/mo per project for much more compute. More power. More freedom. More projects!
120
Yaroslav Shmarov @yarotheslav.bsky.social · 09/04/2026
Well put.
https://www.reddit.com/r/GetNoted/comments/1sfkfco/comment/oey5w5y/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
021
Yaroslav Shmarov @yarotheslav.bsky.social · 30/03/2026
Is Orange FR doing a Collab with Duolingo for Captcha? wtf?
000
Yaroslav Shmarov @yarotheslav.bsky.social · 27/03/2026
what’s the best use for an M2 with a broken screen, touchpad and keyboard?
100
Yaroslav Shmarov @yarotheslav.bsky.social · 26/03/2026
Should I commit?
old vs new logo
100
Yaroslav Shmarov @yarotheslav.bsky.social · 06/03/2026
Added a post-deploy hook to Kamal in .kamal/hooks/post-deploy Also added cron script on the server that checks system health every 5 minutes and sends alerts if case of abnormalities
000
Yaroslav Shmarov @yarotheslav.bsky.social · 02/03/2026
PDF generation in Rails in 2026? ❌ Grover+Puppeteer ❌ Ferrum ❌ WickedPDF ✅gem Prawn AI is great at generating PDF with Prawn.
030
Yaroslav Shmarov @yarotheslav.bsky.social · 21/02/2026
Ask Claude Code to apply the learnings from this thread in your Rails app. You're welcome discuss.rubyonrails.org/t/active-sto...
discuss.rubyonrails.org
Active Storage in production: lessons learned and in-depth look at how it works
1. Introduction In my company, we lucked out that Rails 5.2 (and Active Storage) was released just before we needed to implement user uploads. This means that we’ve been using it in production for ove...
1102
Yaroslav Shmarov @yarotheslav.bsky.social · 20/02/2026
media.tenor.com
a group of people are dancing in front of a playground ..
ALT: a group of people are dancing in front of a playground ..
020
Yaroslav Shmarov @yarotheslav.bsky.social · 20/02/2026
Best 2 hours learning investment I made in a while I 💖 KAMAL I 💖 KAMAL I 💖 KAMAL I 💖 KAMAL I 💖 KAMAL I 💖 KAMAL I 💖 KAMAL
150
Yaroslav Shmarov @yarotheslav.bsky.social · 19/02/2026
I bought ScreenFlow 9. Recently I started getting a banner "Keep 9 or upgrade to 10. I had to always annoyingly "skip". Now, it updated itself. And software that I bought once suddenly is a subscription 💩
120
Yaroslav Shmarov @yarotheslav.bsky.social · 16/02/2026
Reaching the limit of the $200 Claude plan is hard, but in the last 7 days I really pushed Claude Code desktop a lot
000
Yaroslav Shmarov @yarotheslav.bsky.social · 13/02/2026
English is the new hot coding lanuage...
010
Yaroslav Shmarov @yarotheslav.bsky.social · 11/02/2026
Do yourself a favor: Listen to this and share it with your non-technical family podcasts.apple.com/pl/podcast/x...
podcasts.apple.com
Something Big Is Happening
Podcast Episode · XAudio - best articles of X in audio format · 11/02/2026 · 30m
010
Yaroslav Shmarov @yarotheslav.bsky.social · 10/02/2026
I can't imagine EU companies with government contracts using GitHub 2 years from now. It will be private GitLab instances.
111
Yaroslav Shmarov @yarotheslav.bsky.social · 10/02/2026
I have great results when asking Claude to review code as popular tech people: "Adam Wathan" gives great advice on CSS & DOM structure "Jason Fried" - on trimming down feature scope "DHH" - not over-engineering, RESTful, naming things
110
Yaroslav Shmarov @yarotheslav.bsky.social · 10/02/2026
USA used to be so classy! Peak culture www.youtube.com/watch?v=PEHK...
youtube.com
Hamilton cast performs "My Shot" at White House
YouTube video by CBS News
120
Yaroslav Shmarov @yarotheslav.bsky.social · 08/02/2026
Warsaw 13.03.2026. Who's going? www.rubyevents.org/events/ruby-...
310
Yaroslav Shmarov @yarotheslav.bsky.social · 07/02/2026
when asking AI to design copy and UI, adding "for low IQ people like me" gives me better results. It is what it is 🙈
050
Yaroslav Shmarov @yarotheslav.bsky.social · 06/02/2026
@id:chat:disableAllFeatures to disable Github Copilot in VS Code
000
Yaroslav Shmarov @yarotheslav.bsky.social · 04/02/2026
Working on a hobby project. 3 claude windows implementing tasks. 4th window - whiteboard with my thought that I will feed them.
010
Yaroslav Shmarov @yarotheslav.bsky.social · 02/02/2026
☕️🚬 right now I’m having morning coffee at the local coffee shop. Gave some maintenance tasks to upgrade corsego.com Agents should never be idle.
010
Yaroslav Shmarov @yarotheslav.bsky.social · 31/01/2026
My soms favorite story: 🐖👷🏡🏖️ 🐺💨💥🐷🍖 🐖👷🏡🪵 🐺💨💥🐷🍖 🐖👷🏡🧱 🐺💨🛑🐷🤣
020
Yaroslav Shmarov @yarotheslav.bsky.social · 26/01/2026
💩 nginx 🥲 localtunnel 🤩 Cloudflare tunnels ✅ free ✅ SSL ✅ no "warning page" ✅ your domain
130
Yaroslav Shmarov @yarotheslav.bsky.social · 31/12/2025
My final message to you this year, on both iOS and Android: #hotwirenative
040
Yaroslav Shmarov @yarotheslav.bsky.social · 30/12/2025
✅ running Hotwire Native JumpstartRails on both iOS & Android ✅ added a NotificationPermissionComponent See how the permission status updates when I enable notifications in settings:
040
Yaroslav Shmarov @yarotheslav.bsky.social · 06/12/2025
Creating extensions for simple_form is fun. There are a few JS input wrappers that I use a lot in my apps: - character counter - textarea autogrow - currency input mask PR adding character counter to simple_form: github.com/yshmarov/mon...
040
Yaroslav Shmarov @yarotheslav.bsky.social · 29/11/2025
Deployed my first app via fly.io ! The estimated cost of web service + postgres + object storage (AWS S3 via @tigrisdata.com ) is ~$6/mo. Great CLI experience: "fly deploy" feels as good as "git push heroku master"
260
Yaroslav Shmarov @yarotheslav.bsky.social · 29/11/2025
www.rubyevents.org is my new favorite website to discover ruby conferences 💟 @adrienpoly.com @marcoroth.dev
2154
Yaroslav Shmarov @yarotheslav.bsky.social · 28/11/2025
moneygun.fly.dev - added a playground for my Rails SaaS boilerplate! Try creating an organization & subscribing to the paid plan to access the paywalled page.
121
Yaroslav Shmarov @yarotheslav.bsky.social · 28/11/2025
Rails tip: Use draw to break your routes into logical, modular files.
4184
Yaroslav Shmarov @yarotheslav.bsky.social · 25/11/2025
‼️Right now, go and uncomment this line in app/jobs/application_job.rb
020
Yaroslav Shmarov @yarotheslav.bsky.social · 24/11/2025
If you're not using simple_form yet, you're missing out! You can just built forms with pure ERB and 0 HTML/CSS. Here's how you can use simple_form with TailwindCSS 👇 www.youtube.com/watch?v=DrUS...
youtube.com
Gem SimpleForm - the ultimate component library for Ruby on Rails forms. Episode 242
YouTube video by SupeRails
030
Yaroslav Shmarov @yarotheslav.bsky.social · 24/11/2025
I do not like gem "rubocop-rails-omakase". I am not a fan of "gem "standard". I prefer sticking as much as possible to rubocop defaults. Rubocop teaches me new, better syntax. It takes max 30 minutes to configure cops from 0 based on your preferences & you learn a lot while doing so.
240
Yaroslav Shmarov @yarotheslav.bsky.social · 23/11/2025
It's been many years since I last used gem "simple_form", but I kinda miss it. You define all the input type styling in a simple_form.rb file, and with minimal markup you can render consistently styled forms
340
Yaroslav Shmarov @yarotheslav.bsky.social · 12/11/2025
I started using localtunnel today instead of ngrok. For a free tool, It's really good. theboroer.github.io/localtunnel-...
100
Yaroslav Shmarov @yarotheslav.bsky.social · 11/11/2025
Sentence case > Camel Case
110
Yaroslav Shmarov @yarotheslav.bsky.social · 07/11/2025
words like "spearheading" are a bigger AI-smell than em—dash
000
Yaroslav Shmarov @yarotheslav.bsky.social · 07/11/2025
Just watched "Uncut gems 2019" and damn it kept me in so much tension till the final release! One of the most memorable movies I've watched in a long time. Disregarded it earlier because of Adam Sandler but damn he's good there.
010
Yaroslav Shmarov @yarotheslav.bsky.social · 05/10/2025
before: flex flex-col lg:flex-row gap-2 after: flex flex-wrap gap-2
010
Yaroslav Shmarov @yarotheslav.bsky.social · 04/10/2025
TIL Ireland is in the EU, but not in Schengen
240
Yaroslav Shmarov @yarotheslav.bsky.social · 01/10/2025
I've recently implemented vector search in a Rails app. It's great for searching by meaning, not keywords. See 🖼️ how I search: - "retreat", and the 1st (closest) result is a weekend trip - "tshirt" -> tee - "coach" -> "training sessions" Super easy to implement!
130
Yaroslav Shmarov @yarotheslav.bsky.social · 11/09/2025
Pagy (the fastest ruby pagination gem) is one of my favorite gems that I have in all my apps. It just received a massive update: ddnexus.github.io/pagy-pre/ Do You use pagy?
370