Ruby on Rails | rubyclub
1.53K subscribers
214 photos
1 video
263 links
Software Writer @yegorckv
Download Telegram
Explaining OOP in pictures

Ivan Nemytchenko

I accidentally invented this approach while teaching OOP in Ruby programming language to my students.

Their task was to come up with a list of components of a smart kettle with some safety features. It was their 2nd week of learning programming, and some students were struggling with this task, as it was too abstract to them.
💎 [EN] Ruby Mixology 101: adding shots of PHP, Elixir, and more / Vladimir Dementyev @palkan_tula

📺 https://youtu.be/tfzAZiGGHvM?si=lMAIfPBnTR7INKK2
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 Delegated Types - Rails in Focus

In the first video of this new series, we're diving into a Rails feature that can transform how you manage your app's database relationships - Delegated Types. Introduced in Rails 6.1, this feature offers a new approach to multi-table inheritance, providing a more efficient and type-safe alternative to Single Table Inheritance (STI) and classic Polymorphism
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 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
Please open Telegram to view this post
VIEW IN TELEGRAM
👩‍💻 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.
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 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
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👩‍💻 Tired of manually styling table rows?

Use ActionView's cycle to alternate background colors automatically.
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 Playlists / Turbo Native

Learn to build mobile apps with Ruby on Rails
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 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.
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 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.
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 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
Please open Telegram to view this post
VIEW IN TELEGRAM
Hotwire Native is officially here! 🎉

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

💻 Announcing Hotwire Native
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 Get ready, #Rails8 beta is going live from #RailsWorld right now
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 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.
Please open Telegram to view this post
VIEW IN TELEGRAM
👩‍💻 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".
Please open Telegram to view this post
VIEW IN TELEGRAM
💻 Update about Hotwire Native from SupeRails

Hotwire Native is a combination of Turbo Native + Strada + Turbo Navigator
Please open Telegram to view this post
VIEW IN TELEGRAM
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.
👩‍💻 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
Please open Telegram to view this post
VIEW IN TELEGRAM