Please open Telegram to view this post
VIEW IN TELEGRAM
There's a new official Ruby on Rails Guide on performance tuning that you probably have not seen that I think every Rails developer should read once at least:
💻 guides.rubyonrails.org/tuning_performance_for_deployment
Please open Telegram to view this post
VIEW IN TELEGRAM
Mark your calendars: #RailsWorld 2025 will take place September 4 and 5, 2025, again in Amsterdam. The same venue, the same city, and good news - more tickets.
💻 rubyonrails.org/2024/11/27/rails-world-2025-save-the-date
Please open Telegram to view this post
VIEW IN TELEGRAM
The Rails Foundation is growing! After 2 years, we have made great strides in fulfilling our mission, but there is still more we want to accomplish. With that in mind, at a recent board meeting, the board voted in favor of expanding the number of Core members and seats on the board.
Please open Telegram to view this post
VIEW IN TELEGRAM
If you want to build an Internal tool, or Admin dashboard in Ruby on Rails, there is no better tool than [Avo](https://avohq.io).
If you are building an internal tool, you don't need User registrations. You will want new users to join only via Invitation.
Please open Telegram to view this post
VIEW IN TELEGRAM
It was recently revealed that GitHub.com is still powered by Ruby on Rails, despite the massive scale of the platform.
This proves that Rails is more than capable of handling workloads at the level of industry leaders. And GitHub isn’t the only example—Shopify, the largest player in e-commerce, breaks records every year in payment processing and shipping, also running on Rails.
Rails continues to demonstrate its reliability and scalability while remaining one of the most enjoyable tools for development.
Please open Telegram to view this post
VIEW IN TELEGRAM
The Rails team continues to delight us with fresh content. A new playlist, Rails 8 Unpacked with Typecraft, has been released on the official Ruby on Rails YouTube channel. It provides a detailed overview of the key features of the new version.
In nine episodes, the playlist demonstrates how to use Rails 8:
- Setting up authentication with the new generator.
- Working with Propshaft for asset management.
- Exploring the default Dockerfile.
- Deploying applications using Kamal 2.0.
I’ve often looked at Laracasts with envy, as it’s full of valuable content for Laravel. Now, I see that Rails has its own unique approach to learning.
Please open Telegram to view this post
VIEW IN TELEGRAM
Migrate from importmap to esbuild for Rails Projects
In the latest Rails updates, transitioning from importmap to esbuild has become a key step for performance improvements. This shift simplifies asset management and enhances your build process.
Read the full post: Migrate from importmap to esbuild for Rails Projects
How to Migrate from KeyValue to Container Backend in Mobility Gem
With the release of the Mobility gem's new features, moving from the KeyValue backend to the Container backend will bring more flexibility and optimization to your application.
Check out the guide: How to migrate from KeyValue to Container backend in Mobility gem
CLI in Ruby Using OptionParser or GetoptLong
Need to create a command-line interface in Ruby? Learn how to use OptionParser and GetoptLong to streamline argument parsing in your scripts.
Explore the tutorial: CLI in Ruby using OptionParser or GetoptLong
@angry_beard
In the latest Rails updates, transitioning from importmap to esbuild has become a key step for performance improvements. This shift simplifies asset management and enhances your build process.
Read the full post: Migrate from importmap to esbuild for Rails Projects
How to Migrate from KeyValue to Container Backend in Mobility Gem
With the release of the Mobility gem's new features, moving from the KeyValue backend to the Container backend will bring more flexibility and optimization to your application.
Check out the guide: How to migrate from KeyValue to Container backend in Mobility gem
CLI in Ruby Using OptionParser or GetoptLong
Need to create a command-line interface in Ruby? Learn how to use OptionParser and GetoptLong to streamline argument parsing in your scripts.
Explore the tutorial: CLI in Ruby using OptionParser or GetoptLong
@angry_beard
The Rails team has introduced an updated Docs landing page — the perfect starting point for developers of all levels. Everything you need to get started and deepen your knowledge of Rails is now in one place:
- Install Rails on any system: Windows, macOS, or Linux.
- Learn: Step-by-step tutorials for beginners.
- Documentation: Comprehensive guides and API references.
- Community: Discuss, share, and contribute to the project.
Built with the support of the Rails Foundation and active involvement from the Core and Committers teams, this is a great example of how a polished interface makes development even easier and more accessible.
Please open Telegram to view this post
VIEW IN TELEGRAM
iOS Apps with Ruby on Rails and Hotwire Native (v1)
Build iOS apps with Ruby on Rails easier than ever!
Hotwire Native (v1) is now available in English, just one day after the Portuguese version.
⚡ What is Hotwire?
Hotwire (HTML Over The Wire) is a framework by Basecamp that sends HTML directly from the server to the interface. It enables the creation of fast and interactive applications without the need for large amounts of JavaScript or using frameworks like React, Vue, or Angular.
Build iOS apps with Ruby on Rails easier than ever!
Hotwire Native (v1) is now available in English, just one day after the Portuguese version.
⚡ What is Hotwire?
Hotwire (HTML Over The Wire) is a framework by Basecamp that sends HTML directly from the server to the interface. It enables the creation of fast and interactive applications without the need for large amounts of JavaScript or using frameworks like React, Vue, or Angular.
In 2024, there were nearly 4,000 commits from 555 contributors and 50 releases, including #Rails8. The team at This Week in Rails reflects on the year and shares the most important highlights.
In this edition, the team has selected their favorite pull requests of the year.
Please open Telegram to view this post
VIEW IN TELEGRAM
Avo Release
Release notes: https://avohq.io/releases/3.16
Here’s what’s new in the latest update:
External links in records — add and view links directly in record cards.
Copyable fields — easily copy data from the interface.
CMD+Enter or CTRL+Enter to submit forms — quick confirmation with a single keyboard shortcut.
UI improvements — small tweaks to make things even more convenient.
Bug fixes — always moving closer to perfection!
Release notes: https://avohq.io/releases/3.16
Here’s what’s new in the latest update:
External links in records — add and view links directly in record cards.
Copyable fields — easily copy data from the interface.
CMD+Enter or CTRL+Enter to submit forms — quick confirmation with a single keyboard shortcut.
UI improvements — small tweaks to make things even more convenient.
Bug fixes — always moving closer to perfection!
A new book, Hotwire Native for Rails Developers, is now available on The Pragmatic Bookshelf. Currently in beta, it’s ready for purchase and study.
About the Book:
Hotwire Native for Rails Developers is a guide for those looking to build native mobile applications using Ruby on Rails.
The book provides detailed instructions on how to integrate Hotwire Native into both new and existing Rails applications. Readers will learn how to:
- enhance mobile apps with native components;
- gradually add native screens;
- ensure their apps look and feel native to iOS and Android platforms.
Please open Telegram to view this post
VIEW IN TELEGRAM
The new version brings even more convenient features. For example, you can now define SQL column aliases using hashes directly in the select method.
Before:
Comment.select("moderated_at AS moderation_timestamp")
After:
Comment.select(comments: { moderated_at: :moderation_timestamp })
Please open Telegram to view this post
VIEW IN TELEGRAM
Ruby Next: Transpiling Modern Ruby Code to Work on Older Versions
Ruby Next is a tool that allows you to run code written using the latest Ruby syntax on older versions of the language or alternative implementations like mruby or Opal.
Why is Ruby Next useful?
Compatibility with different Ruby versions: If you want to use modern syntax in your projects while still supporting users on older Ruby versions, Ruby Next is a great solution.
Helpful for library maintainers: If you maintain a library, Ruby Next can help you transpile your code for a broader audience.
Experimentation and research: It’s also a great way to try out modern Ruby features, even where they aren’t officially available yet.
Ruby Next is an excellent tool for those who want to combine innovation with support for older systems. Give it a try and see for yourself.
Ruby Next is a tool that allows you to run code written using the latest Ruby syntax on older versions of the language or alternative implementations like mruby or Opal.
Why is Ruby Next useful?
Compatibility with different Ruby versions: If you want to use modern syntax in your projects while still supporting users on older Ruby versions, Ruby Next is a great solution.
Helpful for library maintainers: If you maintain a library, Ruby Next can help you transpile your code for a broader audience.
Experimentation and research: It’s also a great way to try out modern Ruby features, even where they aren’t officially available yet.
Ruby Next is an excellent tool for those who want to combine innovation with support for older systems. Give it a try and see for yourself.
Please open Telegram to view this post
VIEW IN TELEGRAM
New Feature in Ruby 3.4.x
The latest Ruby 3.4.x introduces a new shorthand: you can now use it to reference the single block argument automatically.
In Ruby 3.3.x and earlier, we had to write:
Now, in Ruby 3.4.x, we can simplify it to:
The latest Ruby 3.4.x introduces a new shorthand: you can now use it to reference the single block argument automatically.
In Ruby 3.3.x and earlier, we had to write:
['Vaaai'].map { |item| "#{item} Corinthians!" }
# => ["Vaaai Corinthians!"]
Now, in Ruby 3.4.x, we can simplify it to:
['Vaaai'].map { "#{it} Corinthians!" }
# => ["Vaaai Corinthians!"]
update_all
now supports JOIN for PostgreSQL and SQLiteYou can now use
update_all
with JOIN, making data updates even more convenient for these databases. Password reset rate limiting added
Rails now includes built-in protection against password reset abuse, enhancing the security of your applications.
Statement-cached queries are now retryable
If a cached query fails, it can be retried, making database operations more resilient.
Multi-DB migration fixes
Improved support for migrations in applications with multiple databases, simplifying their management.
Faster Docker builds
Docker image builds are now faster, saving developers time.
Check out more details here: This Week in Rails
Please open Telegram to view this post
VIEW IN TELEGRAM
2
- Refill credits with Stripe subscriptions
- Sell booster credit packs mid-cycle
- Expire or rollover credits to the next period
- Keep an audit trail of all transactions
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - rameerez/usage_credits: 💳✨ Add usage-based credits to your Rails app
💳✨ Add usage-based credits to your Rails app. Contribute to rameerez/usage_credits development by creating an account on GitHub.
The Hotwire Native demo site now runs on Ruby on Rails, unlocking new possibilities for developers. The update includes enhanced navigation, integration with native components, and usage examples such as forms, menus, and flash messages.
native.hotwired.dev
Please open Telegram to view this post
VIEW IN TELEGRAM
In this blog post, the author discusses how to access the camera and display a camera feed in Hotwire Native.
Please open Telegram to view this post
VIEW IN TELEGRAM