Ruby on Rails | rubyclub @railsclub Channel on Telegram

Ruby on Rails | rubyclub

@railsclub


Software Writer @yegorckv

Ruby on Rails | rubyclub (English)

Are you passionate about Ruby on Rails? Look no further than rubyclub! This Telegram channel, managed by software writer @yegorckv, is dedicated to all things related to Ruby on Rails. Whether you're a beginner looking to learn the ropes or a seasoned developer wanting to stay up-to-date on the latest trends, rubyclub has something for everyone. With regular updates, tips, and tricks, this channel is your go-to source for all things Ruby on Rails. Join the community of like-minded individuals who share your passion for this powerful web development framework. Stay connected, stay informed, and take your Ruby on Rails skills to the next level with rubyclub! Join us today and become a part of the growing Ruby on Rails community.

Ruby on Rails | rubyclub

18 Feb, 17:55


💻Hotwire Native: Demo Site Migrates to Rails

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

Ruby on Rails | rubyclub

15 Feb, 08:46


💳usage_credits - Ruby gem to add usage-based credits to your Rails app

- 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

Ruby on Rails | rubyclub

07 Feb, 16:23


🖼️ This Week in Rails: Updates and Improvements

update_all now supports JOIN for PostgreSQL and SQLite
You 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

Ruby on Rails | rubyclub

01 Feb, 17:54


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:


['Vaaai'].map { |item| "#{item} Corinthians!" }
# => ["Vaaai Corinthians!"]


Now, in Ruby 3.4.x, we can simplify it to:


['Vaaai'].map { "#{it} Corinthians!" }
# => ["Vaaai Corinthians!"]

Ruby on Rails | rubyclub

28 Jan, 16:47


🐙 Balticruby extended call for proposals till 1st February, 2025

papercall.io/balticruby25

Ruby on Rails | rubyclub

24 Jan, 16:09


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 on Rails | rubyclub

17 Jan, 16:35


🖼️ SQL aliases with hashes

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 })

Ruby on Rails | rubyclub

09 Jan, 09:36


💻Hotwire Native for Rails Developers

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.

Ruby on Rails | rubyclub

08 Jan, 07:53


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!

Ruby on Rails | rubyclub

28 Dec, 13:48


💻 This year in Rails

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.

Ruby on Rails | rubyclub

24 Dec, 12:19


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.

Ruby on Rails | rubyclub

18 Dec, 04:28


💻 Rails: The New Docs Landing Page

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.

Ruby on Rails | rubyclub

16 Dec, 09:08


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

Ruby on Rails | rubyclub

14 Dec, 09:51


💻 Ruby on Rails: A New Playlist on Rails 8

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.

Ruby on Rails | rubyclub

10 Dec, 09:50


💻 💻 GitHub is still running on Ruby on Rails

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.

Ruby on Rails | rubyclub

06 Dec, 06:02


💻 Ruby on Rails #217 Build an invite-only (Internal) app with Avo

If you want to build an Internal tool, or Admin dashboard in Ruby on Rails, there is no better tool than [Avo](http://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.

Ruby on Rails | rubyclub

02 Dec, 14:36


💻 The Rails Foundation welcomes 1Password as Core member

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.

Ruby on Rails | rubyclub

28 Nov, 06:29


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

Ruby on Rails | rubyclub

25 Nov, 17:01


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

Ruby on Rails | rubyclub

18 Nov, 07:07


💻Hotwire Tips from Thoughtbot

4 tips when getting started with Hotwire

Ruby on Rails | rubyclub

08 Nov, 10:28


💻 Rails 8.0: No PaaS Required

Rails 8.0: #NOBUILD, #NOPAAS, all-in on SQLite as a production database option with jobs, cache, and cable, new authentication generator, and so much more! Final release is out.

Ruby on Rails | rubyclub

05 Nov, 14:52


📺 Rails 8 + No Build CSS: How to Ship Frontend Code FASTER 🚀

In this episode, we're diving deep into one of my absolute favorite Ruby gems - css-zero! If you're tired of wrestling with Webpack and complex build processes, you're going to love this. We explore how css-zero perfectly aligns with Rails 8's philosophy of simplified frontend management while still delivering powerful features.

Ruby on Rails | rubyclub

04 Nov, 08:29


💻 Using the Rails 8 (Beta) Authentication Generator in API-Only Mode

As you may know, one of the new features in Rails 8 is the new basic authentication generator, which demonstrates that developing everything related to authentication in a Rails application is not so complex, and often there is no need to rely on third parties (gems).

Ruby on Rails | rubyclub

29 Oct, 09:51


💻 Ferrum Doesn’t Work on Heroku?

dev.to/yegorckv/ferrum-doesnt-work-on-heroku-5abm

Ruby on Rails | rubyclub

28 Oct, 14:37


🥑 Avo has started a series of articles documenting the process of uploading files to S3 using Rails

S3 uploads with Active Storage guide.

Ruby on Rails | rubyclub

24 Oct, 15:42


2024 | Ruby on Rails Community Survey Results

We are thrilled to announce that over 2,700 developers from the Ruby on Rails community across 106 countries have shared their thoughts on the tools, frameworks, and workflows that shape their daily development lives. Through these valuable responses, we aim to understand where Rails stands as a framework in 2024.

Ruby on Rails | rubyclub

22 Oct, 16:52


💻 Importmap Not Working on iOS

dev.to/yegorckv/importmap-not-working-on-ios-2jfh

Ruby on Rails | rubyclub

21 Oct, 12:08


🔤 Avo 3.13 - Custom actions list, nice-to-have's, performance improvements, and Hacktoberfest

Avo 3.13 is out with a few cool stuff added and some performance improvements.

- Custom actions list
- Improvements to how the association views work
- Dynamic filters performance improvements
- tippy fixes
- plugins API got some improvements

Ruby on Rails | rubyclub

18 Oct, 10:23


💻New Design for RubyGems.org - A new design is gradually rolling out to improve support for a wider range of devices, as well as adding a much-needed ‘dark mode.’ You’re encouraged to help review the update and report any usability issues.

Ruby on Rails | rubyclub

14 Oct, 11:46


💻SupeRails #203 Hotwire Native Button 💻

Install & use Bridge Button Component
Extend Bridge Button to accept icons
Button to redirect OR execute JS
Learn what happens if there are multiple bridge buttons defined in your HTML

Watch

Ruby on Rails | rubyclub

12 Oct, 08:39


💻 Reminder that Turbo Mount exists to quickly use React, Vue, Svelte, and other components with Hotwire

For when you don't want go full Inertia.

💻 github.com/skryukov/turbo-mount

Ruby on Rails | rubyclub

10 Oct, 12:26


💻 If you want to use the Rails 8 authentication generator or implement your custom authentication, I wrote a free book that will help you understand how authentication works in depth.

Here is the link:

https://www.rubanonrails.com/2/cookie-based-authentication-with-rails

Ruby on Rails | rubyclub

08 Oct, 07:00


👩‍💻 What's New in Ruby on Rails 8

The first Rails 8 beta has officially been released, bringing an exciting set of features, bug fixes, and improvements. This version builds on the foundation of Rails 7.2, while introducing new features and optimizations to make Rails development even more productive and enjoyable.

Rails 8 on Hacker News

Ruby on Rails | rubyclub

04 Oct, 14:55


Kamal 2

The big demo for Kamal 2 is done. The why, the how, and deployment of both Go and Rails apps, single server and fleet.

Note that this uses the Rails 8 beta! Install with "gem install rails --pre" before following along at home.

Ruby on Rails | rubyclub

30 Sep, 16:45


💻 Update about Hotwire Native from SupeRails

Hotwire Native is a combination of Turbo Native + Strada + Turbo Navigator

Ruby on Rails | rubyclub

30 Sep, 09:38


👩‍💻 As Rails developers, why we are excited about PostgreSQL 17

At Lifen, we’ve loved Rails from the beginning. We have several Rails applications, each with different scopes and teams, all using PostgreSQL as the main database. Some of these applications handle a significant amount of traffic, and their databases need to be properly monitored. This is done by the infrastructure team and the developers themselves using PgAnalyze, Grafana and sometimes AWS console with "Performance Insight".

Ruby on Rails | rubyclub

27 Sep, 17:15


💻 Rails 8 Beta 1: No PaaS Required has been released

Everything you need to go from HELLO WORLD to production on any Linux server, whether Cloud VM or a Pii in your closet, is included.

Solid Queue 1.0 has been released

This clean-sheet database backend for Active Job is already running 20 million jobs per day for Hey, and together with the rest of the Solid Trifecta in Rails 8 has removed the need for Redis in production.

Kamal 2.0 has been released

Now with a own bespoke Kamal Proxy, which brings auto SSL certificates and multiple-apps-on-a-single-box, with virtually no configuration. It's never been easy to avoid PaaS, embrace your own server, and deploy to prod.

Ruby on Rails | rubyclub

26 Sep, 15:16


💻 Get ready, #Rails8 beta is going live from #RailsWorld right now

Ruby on Rails | rubyclub

26 Sep, 10:49


Hotwire Native is officially here! 🎉

It's Turbo Native + Strada + a bunch of improvements.

💻 Announcing Hotwire Native

Ruby on Rails | rubyclub

24 Sep, 06:07


💻 Add your Rails app to the Home Screen - the Ultimate Guide

Rails 8 will support Progressive Web Apps (PWA) out-of-the-box but you have all the tools you need to make your Rails app installable today

Ruby on Rails | rubyclub

20 Sep, 13:27


💻 Ruby on Rails 7.1: Partial Strict Locals and Their Gotchas

Rails partials have been around for years, but they can be clunky since they're just ERB snippets without a backing object structure.

Recently, libraries like ViewComponent and Phlex have tried to improve the view layer by adding more semantic structure to the templates. These are great libraries and I personally reach for ViewComponent on almost every project I work on. That said, I still feel the humble Rails partial still works great for many use cases.

🏎️ If you're entertained by all things DHH, Rails' creator David Heinemeier Hansson 📺 went on popular dev-streamer ThePrimeagen's channel for a mammoth 2 hour unedited interview where he shared thoughts on Ruby, programming in general, racing, and parenthood.

Ruby on Rails | rubyclub

17 Sep, 15:48


💻 Did you know that ActiveRecord::Base#pluck adds support for hash values in Rails 7.2?

This Week in Rails: Solid Cable as default, 2 new Guides PRs, and much more.

Ruby on Rails | rubyclub

15 Sep, 13:20


💻 Playlists / Turbo Native

Learn to build mobile apps with Ruby on Rails

Ruby on Rails | rubyclub

14 Sep, 08:31


👩‍💻 Tired of manually styling table rows?

Use ActionView's cycle to alternate background colors automatically.

Ruby on Rails | rubyclub

11 Sep, 13:18


💻 The Shape & the (Missing) Idea of Service Object

EuRuKo 2024 Presentation

📺 12. Ivan Nemytchenko - The Curse of Service Object - wroc_love.rb 2024

Ruby on Rails | rubyclub

10 Sep, 09:21


💻 Rails 8 will simplify PWA development by generating essential PWA scaffolding by default.

In his RailsWorld talk, Emmanuel will cover PWA basics, the service worker lifecycle, offline strategies via background sync, and the CacheStorage API for cross-device performance. Come join his talk to find out how it all works:

https://rubyonrails.org/world/2024/day-1/emmanuel-hayford

Ruby on Rails | rubyclub

09 Sep, 06:30


👩‍💻 Ruby 3.3.5 Released — Not a big release (you’ll be waiting till Christmas Day for that!) but a scheduled minor bug fix release covering a variety of issues. Based on the current schedule, 3.3.6 should land in early November.

Ruby on Rails | rubyclub

04 Sep, 09:48


💻 Hello Hotwire - Free Course - Full Version

This is the FREE version of my recently released course, Hello Hotwire. You can get the full course and premium content at hellohotwire.com