Please open Telegram to view this post
VIEW IN TELEGRAM
Yaroslav Shmarov - Hotwire Cookbook: Common Uses, Essential Patterns & Best Practices - Rails World
SupeRails creator and Rails mentor Yaroslav Shmarov shares how some of the most common frontend problems can be solved with Hotwire.
📺 View on YouTube
SupeRails creator and Rails mentor Yaroslav Shmarov shares how some of the most common frontend problems can be solved with Hotwire.
Please open Telegram to view this post
VIEW IN TELEGRAM
Better Rails Forms with Superform
Rails form helpers have been around for so long that they seem unquestionable, but did you know there’s a way to build forms in Rails that are easier to customize and permit their own strong parameters?
❤️ fly.io
Rails form helpers have been around for so long that they seem unquestionable, but did you know there’s a way to build forms in Rails that are easier to customize and permit their own strong parameters?
Please open Telegram to view this post
VIEW IN TELEGRAM
Rails World 2023 - Strada
Strada is the missing library to take your Turbo Native apps to the next level. Turbo Native enables web developers to ship native apps, but the experience is limited to a WebView container within a native shell. The native app doesn’t have any knowledge about the web content that is being rendered, but Strada bridges that gap.
Strada is the missing library to take your Turbo Native apps to the next level. Turbo Native enables web developers to ship native apps, but the experience is limited to a WebView container within a native shell. The native app doesn’t have any knowledge about the web content that is being rendered, but Strada bridges that gap.
Telegraph
Rails World 2023 - Strada
Jay Ohms - Strada: Bridging the web and native worlds Joe Masilotti - Just enough Turbo Native to be dangerous https://t.iss.one/railsclub
Chatbot with Ruby on Rails, Turbo Streams, and OpenAI
In this episode, we build a chatbot in Ruby on Rails using Turbo Streams to create a real-time chat experience.
📺 View on YouTube
In this episode, we build a chatbot in Ruby on Rails using Turbo Streams to create a real-time chat experience.
Please open Telegram to view this post
VIEW IN TELEGRAM
DHH about Skiff
Skiff is a new, small tool for deploying static marketing sites using Kamal. Built on #NoBuild ideas, stone-age tools like Server Side Includes, and running with nginx.
💻 View on GitHub
▶️ Review from DHH
@railsclub
Skiff is a new, small tool for deploying static marketing sites using Kamal. Built on #NoBuild ideas, stone-age tools like Server Side Includes, and running with nginx.
@railsclub
Please open Telegram to view this post
VIEW IN TELEGRAM
FactoryBot for Rails testing
In the Ruby community, there's near-unanimous agreement on the importance of testing. Tests act as a safeguard, ensuring that the digital experiences we craft remain consistent, reliable, and of high quality. Many in the Ruby community claim that no code change is complete without tests.
⚡ Dive into FactoryBot to ensure your testing data is reliable and consistent
In the Ruby community, there's near-unanimous agreement on the importance of testing. Tests act as a safeguard, ensuring that the digital experiences we craft remain consistent, reliable, and of high quality. Many in the Ruby community claim that no code change is complete without tests.
⚡ Dive into FactoryBot to ensure your testing data is reliable and consistent
Honeybadger Developer Blog
FactoryBot for Rails testing
Dive into FactoryBot to ensure your testing data is reliable and consistent.
⚡ Rails Domain Redirects
Is your Rails app available at multiple domains, but you only want to serve requests from one of them? Here's how to handle that at the app level.
⚡ Constraints in Rails Router
The next step to customizing router is to dig a li’l deep down into the Rails Router where we can find some features like ‘Constraints’.
Is your Rails app available at multiple domains, but you only want to serve requests from one of them? Here's how to handle that at the app level.
⚡ Constraints in Rails Router
The next step to customizing router is to dig a li’l deep down into the Rails Router where we can find some features like ‘Constraints’.
Ruby on Rails: The Documentary
Ruby on Rails has one of the most faithful communities online, it also has one of the most controversial, rabble-rousing creators out there, Danish programmer, David Heinemeier Hansson. Widely known as DHH, David tells us how Rails went from a crazy idea to one of the most talked-about full-stack frameworks over the course of 20 years.
📺 View on YouTube
Ruby on Rails has one of the most faithful communities online, it also has one of the most controversial, rabble-rousing creators out there, Danish programmer, David Heinemeier Hansson. Widely known as DHH, David tells us how Rails went from a crazy idea to one of the most talked-about full-stack frameworks over the course of 20 years.
Please open Telegram to view this post
VIEW IN TELEGRAM
Indent Rainbow: Make Indentation More Colorful in VS Code — I appreciate if this doesn’t click for you, but I recently discovered this VS Code extension that makes indentation levels more obvious through the use of color (either bars, as above, or lines).
Please open Telegram to view this post
VIEW IN TELEGRAM
YJIT by default if running Ruby 3.3+ for latency improvements, configuration for ActiveRecord::Core#inspect, and more! Catch up with all changes at:
👩💻 rubyonrails.org
Please open Telegram to view this post
VIEW IN TELEGRAM
Ruby 3.3.0 Preview 3 Released — With just 39 days till Christmas and Ruby 3.3, it’s time for another preview release. 3.3.0-preview3 retains all the prior 3.3 improvements like those to YJIT performance, but also introduces the M:N thread scheduler and the Prism Ruby parser (formerly YARP).
YJIT is the Most Memory-Efficient Ruby JIT — Shopify’s tireless work on YJIT has paid off in many ways, including a ~15% speed-up for their storefronts. The team’s methodology on benchmarks, however, goes beyond performance to warm-up time and memory (RSS) size. All in all, YJIT is shaping up to be what we hoped it would be: a great boost to Ruby and Rails development.
YJIT is the Most Memory-Efficient Ruby JIT — Shopify’s tireless work on YJIT has paid off in many ways, including a ~15% speed-up for their storefronts. The team’s methodology on benchmarks, however, goes beyond performance to warm-up time and memory (RSS) size. All in all, YJIT is shaping up to be what we hoped it would be: a great boost to Ruby and Rails development.
💎Ruby Tip💎 Interactive debugging without the need for gems
Discover a simple and fast way to debug in Ruby without installing additional gems. With the Binding class and the integrated IRB console, you can explore and modify the execution context to resolve errors efficiently.
❤️ Read more
Discover a simple and fast way to debug in Ruby without installing additional gems. With the Binding class and the integrated IRB console, you can explore and modify the execution context to resolve errors efficiently.
Please open Telegram to view this post
VIEW IN TELEGRAM
A-Chacon
💎Ruby Tip💎 Interactive debugging without the need to install gems. - a-chacon
Discover a simple and fast way to debug in Ruby without installing additional gems. With the Binding class and the integrated IRB console, you can explore and modify the execution context to resolve errors efficiently.
Turbo 8 beta 1 has shipped! This is the first release with morphing, view transitions, and sans TypeScript.
💻 Turbo 8
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
Release v8.0.0-beta1 · hotwired/turbo
What's Changed
Fix for SubmitEvent polyfill breaking requestSubmit() for newer Safari versions by @mrtnin in #933
Support View Transition API for navigations by @kevinmcconnell in #935
Bump se...
Fix for SubmitEvent polyfill breaking requestSubmit() for newer Safari versions by @mrtnin in #933
Support View Transition API for navigations by @kevinmcconnell in #935
Bump se...
Please open Telegram to view this post
VIEW IN TELEGRAM
Today we're introducing the official Rails Job Board, a platform for Rails developers to find their next role (and companies to find their next Rails developer). Get started and find your next career match here:
Rails job board
Rails job board
You know the city, now save the date: #RailsWorld 2024 will take place Sept 26 & 27. Mark your calendars! More info (tickets, sponsorships, cfp. etc) coming soon.
In this episode, we look at refactoring a model with a few different approaches; modules, classes and concerns. We'll explore each implementation and when I'd use one over the other.
Please open Telegram to view this post
VIEW IN TELEGRAM
Better Mailer Previews: A Way to Preview ActionMailer Email Templates — A Rails engine that builds on top of native Rails mailer previews with enhancements including seeing live, resizable previews, and the ability to forward previews to an email address.
New edition of This Week in Rails
There's a fix in travel_to, restores support for object_id as model attribute, defines fieldset_tag to match the spelling of the HTML tag, and more!
⚡ Rails Week
There's a fix in travel_to, restores support for object_id as model attribute, defines fieldset_tag to match the spelling of the HTML tag, and more!
⚡ Rails Week
Ruby on Rails
Allow object_id as a column name for Active Record and a lot more!
Take Active Record affixes into account for Active Storage database modelsThis pull request ensures that all Active Storage database-related models adhere to the ActiveRecord::Base.table_name_prefix configuration.