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
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.
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 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
Let's learn to build mobile apps with Hotwire using Turbo Native
Please open Telegram to view this post
VIEW IN TELEGRAM
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.
Please open Telegram to view this post
VIEW IN TELEGRAM
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
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
Please open Telegram to view this post
VIEW IN TELEGRAM
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
Use ActionView's cycle to alternate background colors automatically.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
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
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
Please open Telegram to view this post
VIEW IN TELEGRAM
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
It's Turbo Native + Strada + a bunch of improvements.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM