♊️ GemiNews 🗞️
(dev)
🏡
📰 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
Hi, it’s zzak. Let’s explore this week’s changes in the Rails codebase.
Content
<p>Hi, it’s <a href="https://github.com/zzak">zzak</a>. Let’s explore this week’s changes in the Rails codebase.</p> <p>The <a href="https://sessionize.com/rails-world/">Rails World CFP</a> will close in just one week on March 21.<br /> Submit your talk in time!</p> <p><a href="https://github.com/rails/rails/pull/51226">Active Record Basics Guide</a><br /> This PR refreshes the guide covering the basics of Active Record.</p> <p><a href="https://github.com/rails/rails/pull/51325">Do not try to alias on key update when raw SQL is supplied</a><br /> A bug was found when updating duplicates with raw SQL.</p> <p><a href="https://github.com/rails/rails/pull/51324">Memoize “key_provider” from “key” or deterministic “key_provider” if any</a><br /> Previously, this memoization was removed which lead to a performance hit for encrypted attributes.</p> <p><a href="https://github.com/rails/rails/pull/51317">Updating Astana with a Western Kazakhstan timezone</a><br /> On March 1, 2024, Kazakhstan (all parts) switched to a single time zone UTC+5.<br /> Using the latest <a href="https://github.com/tzinfo/tzinfo-data/releases/tag/v1.2024.1">tzinfo-data</a> that updated the Kazakhstan timezones, ActiveSupport still showed the incorrect offset because it was pointing to the <code class="language-plaintext highlighter-rouge">Asia/Dhaka</code> Bangladesh timezone, which will not get the same TZ offset change.</p> <p><a href="https://github.com/rails/rails/pull/51313">Preserve encoding on “truncate_bytes”</a><br /> This PR addressed an issue where <code class="language-plaintext highlighter-rouge">String#truncate_bytes</code> can return a string with a different encoding than the one being truncated.</p> <p><a href="https://github.com/rails/rails/pull/51299">Support custom blob key in ActiveStorage::Blob.compose</a><br /> Since Rails 6.1, Active Storage has allowed to provide a custom <code class="language-plaintext highlighter-rouge">key</code> when attaching a new file.<br /> This PR adds support when using the <code class="language-plaintext highlighter-rouge">compose</code> class method to customize the name of the underlying service object.</p> <p><a href="https://github.com/rails/rails/pull/51286">Fix MySQL adapter for inserts with aliases</a><br /> This pull request addresses errors that occur when using MySQL 8.0.18 or lower version of MySQL 8.0.</p> <p><a href="https://github.com/rails/rails/pull/51267">Railties configure sanitizer vendor in 7.1 defaults more robustly</a><br /> In order to avoid an issue where Rails::HTML::Sanitizer is not yet loaded, which resulted in the sanitizer vendor remaining as <code class="language-plaintext highlighter-rouge">Rails::HTML4</code> and not be set to <code class="language-plaintext highlighter-rouge">Rails::HTML5</code> as intended in Rails 7.1.</p> <p><em>You can view the whole list of changes <a href="https://github.com/rails/rails/compare/@%7B2024-03-08%7D...main@%7B2024-03-15%7D">here</a>.</em> <em>We had <a href="https://contributors.rubyonrails.org/contributors/in-time-window/20240308-20240315">20 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: zzak content: |- <p>Hi, it’s <a href="https://github.com/zzak">zzak</a>. Let’s explore this week’s changes in the Rails codebase.</p> <p>The <a href="https://sessionize.com/rails-world/">Rails World CFP</a> will close in just one week on March 21.<br /> Submit your talk in time!</p> <p><a href="https://github.com/rails/rails/pull/51226">Active Record Basics Guide</a><br /> This PR refreshes the guide covering the basics of Active Record.</p> <p><a href="https://github.com/rails/rails/pull/51325">Do not try to alias on key update when raw SQL is supplied</a><br /> A bug was found when updating duplicates with raw SQL.</p> <p><a href="https://github.com/rails/rails/pull/51324">Memoize “key_provider” from “key” or deterministic “key_provider” if any</a><br /> Previously, this memoization was removed which lead to a performance hit for encrypted attributes.</p> <p><a href="https://github.com/rails/rails/pull/51317">Updating Astana with a Western Kazakhstan timezone</a><br /> On March 1, 2024, Kazakhstan (all parts) switched to a single time zone UTC+5.<br /> Using the latest <a href="https://github.com/tzinfo/tzinfo-data/releases/tag/v1.2024.1">tzinfo-data</a> that updated the Kazakhstan timezones, ActiveSupport still showed the incorrect offset because it was pointing to the <code class="language-plaintext highlighter-rouge">Asia/Dhaka</code> Bangladesh timezone, which will not get the same TZ offset change.</p> <p><a href="https://github.com/rails/rails/pull/51313">Preserve encoding on “truncate_bytes”</a><br /> This PR addressed an issue where <code class="language-plaintext highlighter-rouge">String#truncate_bytes</code> can return a string with a different encoding than the one being truncated.</p> <p><a href="https://github.com/rails/rails/pull/51299">Support custom blob key in ActiveStorage::Blob.compose</a><br /> Since Rails 6.1, Active Storage has allowed to provide a custom <code class="language-plaintext highlighter-rouge">key</code> when attaching a new file.<br /> This PR adds support when using the <code class="language-plaintext highlighter-rouge">compose</code> class method to customize the name of the underlying service object.</p> <p><a href="https://github.com/rails/rails/pull/51286">Fix MySQL adapter for inserts with aliases</a><br /> This pull request addresses errors that occur when using MySQL 8.0.18 or lower version of MySQL 8.0.</p> <p><a href="https://github.com/rails/rails/pull/51267">Railties configure sanitizer vendor in 7.1 defaults more robustly</a><br /> In order to avoid an issue where Rails::HTML::Sanitizer is not yet loaded, which resulted in the sanitizer vendor remaining as <code class="language-plaintext highlighter-rouge">Rails::HTML4</code> and not be set to <code class="language-plaintext highlighter-rouge">Rails::HTML5</code> as intended in Rails 7.1.</p> <p><em>You can view the whole list of changes <a href="https://github.com/rails/rails/compare/@%7B2024-03-08%7D...main@%7B2024-03-15%7D">here</a>.</em> <em>We had <a href="https://contributors.rubyonrails.org/contributors/in-time-window/20240308-20240315">20 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> title_type: html title: Active Record Basics Guide Refresh, Encrypted Attributes Re-Optimization, and more… links: - https://rubyonrails.org/2024/3/15/this-week-in-rails published: 2024-03-15 00:00:00.000000000 Z entry_id: https://rubyonrails.org/2024/3/15/this-week-in-rails summary: Hi, it’s zzak. Let’s explore this week’s changes in the Rails codebase. 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/15/this-week-in-rails updated: 2024-03-15 00:00:00.000000000 Z raw_title: Active Record Basics Guide Refresh, Encrypted Attributes Re-Optimization, 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-01 22:13:49 +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-15-Active_Record_Basics_Guide_Refresh,_Encrypted_Attributes_Re-Opti-v2.yaml
Ricc source
Show this article
Back to articles