♊️ GemiNews 🗞️
🏡
📰 Articles
🏷️ Tags
🧠 Queries
📈 Graphs
☁️ Stats
💁🏻 Assistant
Demo 1: Embeddings + Recommendation
Demo 2: Bella RAGa
Demo 3: NewRetriever
Demo 4: Assistant function calling
Editing article
Title
Summary
Hey everyone, Happy Weekend! Vipul here with the latest updates for This Week in Rails. Let’s dive in.
Content
<p>Hey everyone, Happy Weekend!<br /> <a href="https://www.saeloun.com/team/vipul">Vipul</a> here with the latest updates for This Week in Rails. Let’s dive in.</p> <p><a href="https://rubyonrails.org/2024/3/20/rails-guides-get-a-facelift">Rails guides gets a facelift</a> <br /> Rails guides has a received a big design update!<br /> Check out the <a href="https://edgeguides.rubyonrails.org/">Edge Guides</a> to see these changes. If you find a bug or wish to submit a suggestion, you can open a discussion on <a href="https://github.com/rails/rails/discussions">GitHub</a>.</p> <p><a href="https://twitter.com/dhh/status/1770590629149786189">Two new official gems</a><br /> <a href="https://github.com/rails/solid_queue">Solid Queue</a>, a DB-based queuing backend for Active Job, has graduated to an official <a href="https://twitter.com/dhh/status/1770590629149786189">Rails gem</a>.</p> <p><a href="https://twitter.com/dhh/status/1770590866492809229">Same</a> for <a href="https://github.com/rails/mission_control-jobs">Mission Control — Jobs</a>, which provides a Rails-based frontend to Active Job adapters. It currently supports Resque and Solid Queue.</p> <p><a href="https://github.com/rails/rails/pull/51351">Don’t enqueue jobs to process a preview image if no variant requires it</a><br /> This PR fixes the issue where previewable attachments that don’t specify any variants, or no variants that require pre-processing, were still attempting to queue a job to process the preview image anyways.</p> <p><a href="https://github.com/rails/rails/pull/51353">Eliminate remaining uses of lease_connection inside Active Record</a><br /> As part of moving towards adding a <a href="https://github.com/rails/rails/pull/51349">new <code class="language-plaintext highlighter-rouge">config.active_record.permanent_connection_checkout</code> setting</a>, this change eliminates the remaining uses of <code class="language-plaintext highlighter-rouge">lease_connection</code> inside Active Record API.</p> <p><a href="https://github.com/rails/rails/pull/51308">Do not build View Watcher until the first updated? check</a><br /> Currently initialization of every <code class="language-plaintext highlighter-rouge">Rails::Engine</code> leads to the creation of a new View watcher when the engine prepends its paths. This contributes to the time it takes to perform the first cold request on a lazy loaded application. This change delays the initialization of the View watcher until its first usage to only have one initialization of the watcher.</p> <p><a href="https://github.com/rails/rails/pull/51345">Allow primary_key: association option to be composite </a><br /> Association’s <code class="language-plaintext highlighter-rouge">primary_key</code> can be composite when derived from associated class’s <code class="language-plaintext highlighter-rouge">primary_key</code> or <code class="language-plaintext highlighter-rouge">query_constraints</code>. Rails dint allow setting this explicitly even though it was already capable of supporting it.</p> <p>This commit allows <code class="language-plaintext highlighter-rouge">primary_key</code> association option to be an array to support this behavior.</p> <p><em>You can view the whole list of changes <a href="https://github.com/rails/rails/compare/@%7B2024-03-16%7D...main@%7B2024-03-22%7D">here</a>.</em><br /> <em>We had <a href="https://contributors.rubyonrails.org/contributors/in-time-window/20240316-20240322">14 contributors</a> to the Rails codebase this past week!</em></p> <p>Until next time!</p> <p><em><a href="https://world.hey.com/this.week.in.rails">Subscribe</a> to get these updates mailed to you.</em></p>
Author
Link
Published date
Image url
Feed url
Guid
Hidden blurb
--- !ruby/object:Feedjira::Parser::AtomEntry author: vipulnsward content: "<p>Hey everyone, Happy Weekend!<br />\n<a href=\"https://www.saeloun.com/team/vipul\">Vipul</a> here with the latest updates for This Week in Rails. Let’s dive in.</p>\n\n<p><a href=\"https://rubyonrails.org/2024/3/20/rails-guides-get-a-facelift\">Rails guides gets a facelift</a> <br />\nRails guides has a received a big design update!<br />\nCheck out the <a href=\"https://edgeguides.rubyonrails.org/\">Edge Guides</a> to see these changes.\nIf you find a bug or wish to submit a suggestion, you can open a discussion on <a href=\"https://github.com/rails/rails/discussions\">GitHub</a>.</p>\n\n<p><a href=\"https://twitter.com/dhh/status/1770590629149786189\">Two new official gems</a><br />\n<a href=\"https://github.com/rails/solid_queue\">Solid Queue</a>, a DB-based queuing backend for Active Job, has graduated to an official <a href=\"https://twitter.com/dhh/status/1770590629149786189\">Rails gem</a>.</p>\n\n<p><a href=\"https://twitter.com/dhh/status/1770590866492809229\">Same</a> for <a href=\"https://github.com/rails/mission_control-jobs\">Mission Control — Jobs</a>, \nwhich provides a Rails-based frontend to Active Job adapters. \nIt currently supports Resque and Solid Queue.</p>\n\n<p><a href=\"https://github.com/rails/rails/pull/51351\">Don’t enqueue jobs to process a preview image if no variant requires it</a><br />\nThis PR fixes the issue where previewable attachments that don’t specify any variants, or no variants that require pre-processing, \nwere still attempting to queue a job to process the preview image anyways.</p>\n\n<p><a href=\"https://github.com/rails/rails/pull/51353\">Eliminate remaining uses of lease_connection inside Active Record</a><br />\nAs part of moving towards adding a <a href=\"https://github.com/rails/rails/pull/51349\">new <code class=\"language-plaintext highlighter-rouge\">config.active_record.permanent_connection_checkout</code> setting</a>, \nthis change eliminates the remaining uses of <code class=\"language-plaintext highlighter-rouge\">lease_connection</code> inside Active Record API.</p>\n\n<p><a href=\"https://github.com/rails/rails/pull/51308\">Do not build View Watcher until the first updated? check</a><br />\nCurrently initialization of every <code class=\"language-plaintext highlighter-rouge\">Rails::Engine</code> leads to the creation of a new View watcher when the engine prepends its paths.\nThis contributes to the time it takes to perform the first cold request on a lazy loaded application.\nThis change delays the initialization of the View watcher until its first usage to only have one initialization of the watcher.</p>\n\n<p><a href=\"https://github.com/rails/rails/pull/51345\">Allow primary_key: association option to be composite </a><br />\nAssociation’s <code class=\"language-plaintext highlighter-rouge\">primary_key</code> can be composite when derived from associated class’s <code class=\"language-plaintext highlighter-rouge\">primary_key</code> or <code class=\"language-plaintext highlighter-rouge\">query_constraints</code>. \nRails dint allow setting this explicitly even though it was already capable of supporting it.</p>\n\n<p>This commit allows <code class=\"language-plaintext highlighter-rouge\">primary_key</code> association option to be an array to support this behavior.</p>\n\n<p><em>You can view the whole list of changes <a href=\"https://github.com/rails/rails/compare/@%7B2024-03-16%7D...main@%7B2024-03-22%7D\">here</a>.</em><br />\n<em>We had <a href=\"https://contributors.rubyonrails.org/contributors/in-time-window/20240316-20240322\">14 contributors</a> to the Rails codebase this past week!</em></p>\n\n<p>Until next time!</p>\n\n<p><em><a href=\"https://world.hey.com/this.week.in.rails\">Subscribe</a> to get these updates mailed to you.</em></p>" title_type: html title: Rails guides facelift, two new official gems and more! links: - https://rubyonrails.org/2024/3/22/this-week-in-rails published: 2024-03-22 00:00:00.000000000 Z entry_id: https://rubyonrails.org/2024/3/22/this-week-in-rails summary: Hey everyone, Happy Weekend! Vipul here with the latest updates for This Week in Rails. Let’s dive in. categories: - news carlessian_info: news_filer_version: 2 newspaper: Ruby on Rails macro_region: Technology rss_fields: - author - content - title_type - title - links - published - entry_id - summary - categories - url - updated - raw_title url: https://rubyonrails.org/2024/3/22/this-week-in-rails updated: 2024-03-22 00:00:00.000000000 Z raw_title: Rails guides facelift, two new official gems and more!
Language
Active
Ricc internal notes
Imported via /Users/ricc/git/gemini-news-crawler/webapp/db/seeds.d/import-feedjira.rb on 2024-04-03 16:31:21 +0200. Content is EMPTY here. Entried: author,content,title_type,title,links,published,entry_id,summary,categories,url,updated,raw_title. TODO add Newspaper: filename = /Users/ricc/git/gemini-news-crawler/webapp/db/seeds.d/../../../crawler/out/feedjira/Technology/Ruby on Rails/2024-03-22-Rails_guides_facelift,_two_new_official_gems_and_more!-v2.yaml
Ricc source
Show this article
Back to articles