Ruby on Rails | rubyclub
1.53K subscribers
214 photos
1 video
263 links
Software Writer @yegorckv
Download Telegram
👩‍💻 Background Jobs in Rails with SolidQueue

In this episode we will setup SolidQueue in our Rails app. So that we can use our database as a job queue for our background workers
Please open Telegram to view this post
VIEW IN TELEGRAM
DHH about RailsWorld

I owe the trajectory of my entire career to Matz. Couldn't be happier to have him at Rails World for a chat with Tobi and I. Optimize for programmer happiness!


Special #Railsworld announcement: @yukihiro_matz and @dhh will share the stage for the very first time for a fireside chat about #Ruby, #Rails and all things #opensource. This special conversation will be moderated and hosted by Shopify founder and early Rails Core member @tobi.
📮 ViewComponent Crash Course with Ruby on Rails

ViewComponent is a powerful gem that allows you to create reusable, testable, and encapsulated view components in Ruby on Rails applications.

ViewComponent was developed by the GitHub team and has since been adopted by many developers looking for more structure than the default partials and helpers provided by Ruby on Rails. This crash course will review ViewComponent's use case and explore how it might fit your next Rails app.
Please open Telegram to view this post
VIEW IN TELEGRAM
📺 Getting Started with Turbo Native in Ruby on Rails | SupeRails #184

Let's learn to build mobile apps with Hotwire using Turbo Native
Please open Telegram to view this post
VIEW IN TELEGRAM
📮 When to Use call, erb_template, or html.erb in Rails ViewComponents?

ViewComponent has multiple methods to render ERB and HTML. Initially, when ViewComponent was released, there were two options:

a separate html.erb file, and;
a call method.
Please open Telegram to view this post
VIEW IN 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