惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Vercel News
Vercel News
SecWiki News
SecWiki News
WordPress大学
WordPress大学
小众软件
小众软件
博客园 - 司徒正美
酷 壳 – CoolShell
酷 壳 – CoolShell
V
Visual Studio Blog
Y
Y Combinator Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
云风的 BLOG
云风的 BLOG
MyScale Blog
MyScale Blog
K
Kaspersky official blog
T
The Exploit Database - CXSecurity.com
腾讯CDC
Scott Helme
Scott Helme
I
InfoQ
Cyberwarzone
Cyberwarzone
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Security Latest
Security Latest
The Register - Security
The Register - Security
Project Zero
Project Zero
F
Fortinet All Blogs
C
CERT Recently Published Vulnerability Notes
A
Arctic Wolf
C
Cisco Blogs
L
LINUX DO - 热门话题
P
Privacy International News Feed
IT之家
IT之家
U
Unit 42
P
Privacy & Cybersecurity Law Blog
H
Help Net Security
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Palo Alto Networks Blog
F
Full Disclosure
宝玉的分享
宝玉的分享
Simon Willison's Weblog
Simon Willison's Weblog
L
Lohrmann on Cybersecurity
Google DeepMind News
Google DeepMind News
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
H
Hacker News: Front Page
Know Your Adversary
Know Your Adversary
PCI Perspectives
PCI Perspectives
Hugging Face - Blog
Hugging Face - Blog
AWS News Blog
AWS News Blog
MongoDB | Blog
MongoDB | Blog
S
Schneier on Security
Recent Announcements
Recent Announcements
Forbes - Security
Forbes - Security
Cisco Talos Blog
Cisco Talos Blog

Ruby on Rails: Compress the complexity of modern web apps

Safer to_i coercion, custom to_fs formats, and more! This Week in Rails: May 16, 2026 This Week in Rails: May 8, 2026 This Week in Rails: May 1, 2026 Active Record gets better every week Great big Rails World 2026 update: CFP, Corporate Support tickets, workshops Query command for database queries and more Explicit query: and body: kwargs for integration tests and more! Speedup ActiveRecord::LogSubscriber#sql_color and more! This Week in Rails: March 27, 2026 Rails Versions 8.0.5 and 8.1.3 have been released! Rails Versions 7.2.3.1, 8.0.4.1, and 8.1.2.1 have been released! This Week in Rails: March 20, 2026 Validate URI scheme in Action Text and more This Week in Rails: March 6, 2026 Planning Center is the newest Rails Foundation Contributing member Action Text gets Markdown conversion, editor links in devcontainers, and more! BARRA seeks Rails developer Joe Agliozzo is looking for a Rails developer The rise of lighttpd as the alternative web server When longer is better and more is more Snowdevil: First e-tailer on Rails Natural selection for frameworks in Ruby vs Java Address book tutorial in Portuguese Becoming a better programmer with Rails 10 Things Every Java Programmer Should Know About Ruby Really Getting Started in Rails Off the Treadmill, Onto the Rails Rails 0.9.5: A world of fixes and tweaks Rich clients with Rails and XUL Pedrosa on Rails vs WebWork: 'Language DOES matter' 'Ruby on Rails is unbelievably good' Celebrating six months anniversary! Speeding up CGI access to Gem Rails CD Baby leaves PHP behind for Ruby on Rails "I think Ruby on Rails is way over hyped" Programmer needed for JSP to Rails conversion Beyond the 10,000th gem install of Rails 'That application is so stupid' Matz takes note of Ta-da and Rails Rails tutorial on O'Reilly's ONLamp Welcome Slashdotters! Ta-da goes international with UTF-8 Make your Ta-da list today Rails 0.9.4.1: Cleaning up the mess Rails 0.9.4: Caching, filters, SQLite3... An unusual high presence of Macs Having problems running tests under 1.8.2? It\'s all about the applications But what does Rails go web services with XML-RPC prototype Rails runs through XP Cincinnati RedHanded out-evangelizes the evangelizer Rails on Lighttpd with FastCGI Have a codefest and collect cash from RubyCentral Jamis Buck is working on Basecamp S5 Presents competes with SoapBX 3,000 people are doing 10,804 things... Using the Rails to impress potential employers Brian discovers the default logging goodness SoapBX: Presentations powered by S5, Textile, Rails Road Map: The rails leading to 1.0 Tracks: A Getting Things Done implementation Nicholas presents the Directors Rails 0.9.3: Optimistic locking, dynamic finders, 1.8.2 Ruby on the German Rails 43things in 5,204 lines of Ruby on Rails Watch for huge requests on default FCGI How the redesign of the website came to be Are you watching the health of your software? "Some amazing web apps appear on Ruby on Rails" Learning Ruby on Rails with 43things The Robot Co-op takes 43things.com live! Giving up on Java for lack of love Setting up EliteJournal on TextDrive without a vhost Celebrating 219 applied patches since 0.7 Escaping Java but not its thinking "Simple design that even my grandma can understand" Rails logo remixed by Olivier Hericord Rake 0.4.14 includes fix for Ruby 1.8.2 Splitting off the research patches Running rake tests with Ruby 1.8.2 Marten opens Epilog for Trac'ing Drew McLellan predicts Rails celebrates more than 10,000 downloads Variations on a railed theme Securing your Rails: Keep it secret, keep it safe Available for hire? Collaboa and EliteJournal joins the Trac Playing Active Records on MS SQLServer and DB2 Open sourcing the Rails logo Rails: Technology of the Year #1 Reacting to customer requests in real time Extracting missing content from wiki backups Ruby on Rails has its web presence overhauled 43 things makes The Seattle Times 5.gets David Heinemeier Hansson Ruby 1.8.2 finally sees the light of day Rails 0.9: Fast development, breakpoints, validations Rails 0.9.1: Small, but important bugfix for Action Pack
This Week in Rails - May 26, 2023
David Heinemeier Hansson · 2023-05-26 · via Ruby on Rails: Compress the complexity of modern web apps

Hey! zzak here with another edition of This Week in Rails.

Reminder: The Rails World CFP is open until June 16.
Whether you’re a seasoned veteran or a newcomer to the Rails ecosystem, we encourage you to submit proposals that showcase forward-thinking ideas and push the boundaries of what’s possible with Rails.

Rails 7.0.5 has been released
In case you missed it, a bugfix release for the 7.0 series of Rails was cut.

Improve performance of MemoryStore
This PR optimizes the MemoryStore::DupCoder internal API to avoid unnecessary work when writing and reading complex objects.

Refactor error highlight detection
Before this commit, some calls to render were hard-coding error highlight as “not available”. This was causing some error pages to show the “you should install error highlight” message even though the right version of error highlight was installed.

Use short-form fixed-width RDoc form for namespaces
Some work went into replacing occurrences of “Some::Namespace::Thing” with the shorter “+…+” syntax supported by RDoc.
This is just a reminder to folks writing documentation that this syntax can be used for nearly all fixed-width code that doesn’t contain brackets, spaces, or like raw “strings”. Which is much nicer on the eyes for readers looking directly at the code (and writing).

Automatically add “test/fixtures” in engines to “fixture_paths”
This PR takes advantage of the recently added TestFixtures#fixture_paths feature so that any engines your application uses fixtures will also be automatically loaded.

Fix “change_in_place?” for binary serialized columns
A bug occurred when giving unicode characters to serialized attributes stored in a blob column, that would always show changes had occurred on that attribute.

Run “after_bundle” blocks with “app:template” command
App templates may contain after_bundle blocks which should be run after the template is executed, after running bundle install. For example:

gem "devise"

after_bundle do
  generate "devise:install"
end

“ERB::Util.html_escape_once” now always returns an “html_safe” string
This method previously maintained the html_safe? property of a string on the return value. Because this string has been escaped, however, not marking it as html_safe causes entities to be double-escaped. Before this change, that would be double-escaped and render as:

<p>this &amp;amp; that &amp;amp; the other</p>

After this change, it renders correctly as:

<p>this &amp; that &amp; the other</p>

Deprecate “SafeBuffer#clone_empty”
This internal method hasn’t been used within the Rails codebase since the last caller was removed in 2014 (Rails 4.2.0).

Add “Arel::Nodes::Cte” for use in WITH expressions
While Arel is still private API, this PR is still worth noting. This addition gives the with method the ability to accept a Common Table Expression (CTE) which adds MATERIALIZED or NOT MATERIALIZED hints to the generated SQL statement.
Postgres and SQLite both support a non-standard extension to the CTE syntax to indicate that a CTE subquery should be materialized, i.e., not folded into the main query but evaluated separately. This can be useful in cases where the query planner would otherwise make poor decisions.

Deprecate params via “:args” for “assert_enqueued_email_with”
When testing Action Mailer using assert_enqueued_email_with, you should be using the :params kwarg to pass a hash of options to the mailer. For example:

assert_enqueued_email_with MyMailer, :my_method, params: { my_param: "value" }

Fix issue with empty values within delimited authorization header
The bug here occurs when delimited Authorization header values containing blanks (e.g. ,,,) will produce an ArgumentError resulting in a 500 error response.

Adds “ActiveRecord.disconnect_all!” to close all connections
This is basically a multi-db aware version of ActiveRecord::Base.connection.disconnect!. It also avoid connecting to the database if we weren’t already. This can be useful to reset state after establish_connection has been used.

Improve JS and CSS options of app generator
The UX for generating new Rails applications when using the --javascript and --css flags has been improved here. Take a look at the table in the PR that explains the behavior changes in greater detail.

Model Generator Source Paths Should Allow for Customization
This PR resurrects and older PR that had been lost to time, with the addition of tests and silenced warnings. It’s always good to see folks who can scratch their own itch, and recycle code from an older PR. Not everything needs to be reinvented!

Update comments in all three en.yml files relating to booleans
I’m calling this one out because as this was @justinperkins first PR to Rails! They’ve gone and fixed up the comments for the generated locale files. Congrats!

Make the test environment show rescuable exceptions in responses
The last PR for the week is changing the behavior of the config.action_dispatch.show_exceptions option to use the new “rescuable” option which will only show exceptions that can be rescued (e.g. ActiveRecord::RecordNotFound) in the test environment.

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

Until next time!

Subscribe to get these updates mailed to you.