Moving from Devise to Rails 8.2's built-in auth? Your users keep their passwords.
Devise stores BCrypt hashes, optionally with a pepper. Register a pepper-aware algorithm, alias encrypted_password, and has_secure_password verifies every existing hash. No reset emails.
Got a test that only passes because the database happens to return rows in insert order? Rails 8.2 can catch it.
Turn on shuffle_unordered_selects in your test config and every SELECT without an ORDER BY comes back shuffled.
Active Search is Basecamp's new gem: one search API for Rails across backends. Define an index, add has_search, then chain search, filter and highlight.
Start on SQLite, Postgres or MySQL, move to Elasticsearch, Meilisearch or Typesense without rewriting queries. Still alpha.
All the open PRs and issues for acts_as_tenant are cleaned up and I cut a new major version today
I also built a new gem for Rails row-level multitenancy following the Authentication generator pattern that should be much nicer to use:
https://t.co/A7FrwWSH3R
If you are not attending Rails World, you can still watch the opening keynote live on the link below! Thanks @Shopify to make this happen!
https://t.co/U3Iw4niUQ5
Safari 27 supports JSPI, a magic WebAssembly capability for sync native code to suspend on an async 𝙿𝚛𝚘𝚖𝚒𝚜𝚎.
On https://t.co/OL0LzGtvAw, libfx uses the built-in browser 𝚏𝚎𝚝𝚌𝚑 stack to make API calls.
As more code goes native, I expect WebAssembly to play a huge role in the future of the web.
@theo I have worked in projects with multiple people where I understood the entire code base. The other people did too, and the code was absolutely better than any one invidual would've made on their own.
You don't have to surrender to your own incompetency at every chance.
I have never tried Omarchy so far but there are a few reasons why I think what DHH is trying to do with Linux on the Desktop could be significant. There is the right mix of AI help with many boring and costly tasks (drivers for instance), MacOS dropping in quality, and the fact the only reason why Linux never succeeded in the Desktop is that UX requires an opinionated development path from some entity able to also fuel it, not the distributions setup Linux historically had. For all this reasons, a few starts aligned, so this could be the right time. Also ROCm / Vulkan / CUDA GPU hardware options are evolving, and could end creating a compelling alternative to Apple hardware for local inference: but this is also the major risk, if Apple wins the local inference hardware battle, MacOS could become a forced choice for many.
Rails World in Austin is going to be a blast. We've been cooking a lot of great new stuff for the next version of Rails. And I'm excited to see everyone again. It already feels like it's been 10 years since the last one in terms of industry change!
We have the new Array type merged into Redis! https://t.co/fmw4WIH4tI
If you have a use case or want to implement agents shared skills knowledge via ARGREP, this is the right moment to start :)
Just migrated every. single. one. of my projects to @hatchboxio. No more Render, no more Heroku, no more Fly.
I think I'm saving $1,500+ per year with this and a single Hetzner box.