I just released Ace Template, which helps you create and deploy a full-featured Rails app in under 5 minutes: https://t.co/VciJCDSsir.
Works with your own server (Kamal), Fly, or Heroku.
Demo ๐
https://t.co/RKaRsZpjO0
@matheusrich I also have a Rails application template (will open-source soon hopefully) with E2E tests against Rails main on a GitHub Actions cron schedule, so I am alerted automatically.
Very helpful e.g. when tailwindcss-rails updated to Tailwind v4 last week and dropped tailwind.config.js
@_buf@dhh Not fun! I only deployed throwaway projects on single Hetzner instances, and even then it took me a while to figure out, so I can't imagine moving existing infra.
The skills you pick up along the way are useful though, and I have hope docs will improve. Kamal is still very new.
@strzibnyj@_buf Yeah kind of a bummer that it's slower on Mac but then you can always have GitHub action or other build the image for you as part of your CI workflow
@_buf@strzibnyj BTW I'm cooking up a Rails 8+ template that will be ready to deploy with Kamal 2 or https://t.co/WVFDTZBavD in minutes with barely any config required. Hopefully can open source soon
@fxn Thanks for these explanations, it's nice to follow along! While TracePoint was dropped to fix namespace manual constant assignment, I am wondering about any other incidental benefit. If nothing else I guess using that API is more direct and to the point!
@coderberry Do you have resources for such a setup? Like are you using any CLI tools or editor plugins? Or just chat or copy/paste prompts on https://t.co/NCuEuEnBH7?
@nithinbekal I was trying to verify what you said in your blog post https://t.co/OIFOTKcW7t example. But `convert_to_html(https://t.co/r1OP0xiuUB)` raises "NameError: uninitialized constant Number". And using https://t.co/ZB4UGCYDq3 works fine. Can't reproduce NotImplementedError
@djdarkbeat@jorgemanru TIL about 1:59:59 am, I never entertained the thought that on DST day 2:00 am doesn't exist, but it makes sense. Classic brain off-by-one error!
@bradgessler I know! Hopefully the UX will improve in a few years.
For now you need to register your passkey deep in the website's settings, e.g. for GitHub going to https://t.co/Jw4P56iOKp and clicking "Add a passkey".
Then I can log in easily with my Mac's Touch ID (uses iCloud keychain).
@rockatanescu@gregnavis Yeah, I just checked that codebase, turns out the omniauth callback controller had tests.
But unless you have true 100% coverage, there is always a risk that a random "private" method override might screw up your codebase in subtle ways, while still making your tests pass
@gregnavis I like the idea of included, probably the simplest way to go. ๐ Another way is to automatically encapsulate all your concern methods in an inner object but that seems heavier. Either way that would be library-worthy e.g. a โsafe_concernโ library