♊️ GemiNews 🗞️

Demo 1: Embeddings + Recommendation Demo 2: Bella RAGa Demo 3: NewRetriever Demo 4: Assistant function calling

🗞️Rails guides facelift, two new official gems and more!

🗿Semantically Similar Articles (by :title_embedding)

Rails guides facelift, two new official gems and more!

2024-03-22 - vipulnsward (from Ruby on Rails)

Hey everyone, Happy Weekend! Vipul here with the latest updates for This Week in Rails. Let’s dive in.

Hey everyone, Happy Weekend! Vipul here with the latest updates for This Week in Rails. Let’s dive in. Rails guides gets a facelift Rails guides has a received a big design update! Check out the Edge Guides to see these changes. If you find a bug or wish to submit a suggestion, you can open a discussion on GitHub. Two new official gems Solid Queue, a DB-based queuing backend for Active Job, has graduated to an official Rails gem. Same for Mission Control — Jobs, which provides a Rails-based frontend to Active Job adapters. It currently supports Resque and Solid Queue. Don’t enqueue jobs to process a preview image if no variant requires it 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. Eliminate remaining uses of lease_connection inside Active Record As part of moving towards adding a new config.active_record.permanent_connection_checkout setting, this change eliminates the remaining uses of lease_connection inside Active Record API. Do not build View Watcher until the first updated? check Currently initialization of every Rails::Engine 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. Allow primary_key: association option to be composite Association’s primary_key can be composite when derived from associated class’s primary_key or query_constraints. Rails dint allow setting this explicitly even though it was already capable of supporting it. This commit allows primary_key association option to be an array to support this behavior. You can view the whole list of changes here. We had 14 contributors to the Rails codebase this past week! Until next time! Subscribe to get these updates mailed to you.

[Technology] 🌎 https://rubyonrails.org/2024/3/22/this-week-in-rails

🗿article.to_s

------------------------------
Title: Rails guides facelift, two new official gems and more!
Summary: Hey everyone, Happy Weekend! Vipul here with the latest updates for This Week in Rails. Let’s dive in.

[content]
Hey everyone, Happy Weekend!
Vipul here with the latest updates for This Week in Rails. Let’s dive in.

Rails guides gets a facelift 
Rails guides has a received a big design update!
Check out the Edge Guides to see these changes.
If you find a bug or wish to submit a suggestion, you can open a discussion on GitHub.

Two new official gems
Solid Queue, a DB-based queuing backend for Active Job, has graduated to an official Rails gem.

Same for Mission Control — Jobs, 
which provides a Rails-based frontend to Active Job adapters. 
It currently supports Resque and Solid Queue.

Don’t enqueue jobs to process a preview image if no variant requires it
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.

Eliminate remaining uses of lease_connection inside Active Record
As part of moving towards adding a new config.active_record.permanent_connection_checkout setting, 
this change eliminates the remaining uses of lease_connection inside Active Record API.

Do not build View Watcher until the first updated? check
Currently initialization of every Rails::Engine 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.

Allow primary_key: association option to be composite 
Association’s primary_key can be composite when derived from associated class’s primary_key or query_constraints. 
Rails dint allow setting this explicitly even though it was already capable of supporting it.

This commit allows primary_key association option to be an array to support this behavior.

You can view the whole list of changes here.
We had 14 contributors to the Rails codebase this past week!

Until next time!

Subscribe to get these updates mailed to you.
[/content]

Author: vipulnsward
PublishedDate: 2024-03-22
Category: Technology
NewsPaper: Ruby on Rails
Tags: news
{"id"=>3197,
"title"=>"Rails guides facelift, two new official gems and more!",
"summary"=>"Hey everyone, Happy Weekend! Vipul here with the latest updates for This Week in Rails. Let’s dive in.",
"content"=>"

Hey everyone, Happy Weekend!
\nVipul here with the latest updates for This Week in Rails. Let’s dive in.

\n\n

Rails guides gets a facelift
\nRails guides has a received a big design update!
\nCheck out the Edge Guides to see these changes.\nIf you find a bug or wish to submit a suggestion, you can open a discussion on GitHub.

\n\n

Two new official gems
\nSolid Queue, a DB-based queuing backend for Active Job, has graduated to an official Rails gem.

\n\n

Same for Mission Control — Jobs, \nwhich provides a Rails-based frontend to Active Job adapters. \nIt currently supports Resque and Solid Queue.

\n\n

Don’t enqueue jobs to process a preview image if no variant requires it
\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.

\n\n

Eliminate remaining uses of lease_connection inside Active Record
\nAs part of moving towards adding a new config.active_record.permanent_connection_checkout setting, \nthis change eliminates the remaining uses of lease_connection inside Active Record API.

\n\n

Do not build View Watcher until the first updated? check
\nCurrently initialization of every Rails::Engine 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.

\n\n

Allow primary_key: association option to be composite
\nAssociation’s primary_key can be composite when derived from associated class’s primary_key or query_constraints. \nRails dint allow setting this explicitly even though it was already capable of supporting it.

\n\n

This commit allows primary_key association option to be an array to support this behavior.

\n\n

You can view the whole list of changes here.
\nWe had 14 contributors to the Rails codebase this past week!

\n\n

Until next time!

\n\n

Subscribe to get these updates mailed to you.

",
"author"=>"vipulnsward",
"link"=>"https://rubyonrails.org/2024/3/22/this-week-in-rails",
"published_date"=>Fri, 22 Mar 2024 00:00:00.000000000 UTC +00:00,
"image_url"=>nil,
"feed_url"=>"https://rubyonrails.org/2024/3/22/this-week-in-rails",
"language"=>nil,
"active"=>true,
"ricc_source"=>"feedjira::v1",
"created_at"=>Wed, 03 Apr 2024 14:31:21.701272000 UTC +00:00,
"updated_at"=>Tue, 14 May 2024 04:41:47.263629000 UTC +00:00,
"newspaper"=>"Ruby on Rails",
"macro_region"=>"Technology"}
Edit this article
Back to articles