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

推荐订阅源

宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 聂微东
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 三生石上(FineUI控件)
T
Tailwind CSS Blog
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
爱范儿
爱范儿
博客园 - 司徒正美
人人都是产品经理
人人都是产品经理
Jina AI
Jina AI
博客园 - 叶小钗
雷峰网
雷峰网
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - Franky
WordPress大学
WordPress大学
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
阮一峰的网络日志
阮一峰的网络日志
量子位

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
Bugfixes, guides improvement and more!
David Heinemeier Hansson · 2022-05-21 · via Ruby on Rails: Compress the complexity of modern web apps

Saturday, May 21, 2022
Posted by gregmolnar

Hi, this is Greg, bringing you the latest news from the Rails world.

Add ability to ignore tables by a regular expression for SQL schema dumps It was already possible to ignore tables by a regexp for ruby schema dump, but from now on if you use a SQL based structure dump, you can do so to by configuring ActiveRecord::SchemaDumper.ignore_tables = [/^_/]

Add skip_nil: support to RedisCacheStore This change allows RedisCacheStore to also accept a default value for skip_nil.

Support unbounded time ranges for PostgreSQL This PR fixed an issue when passing unbounded ranges to PostgreSQL.

Fixes Active Storage proxy downloads of files over 5Mb in S3-like storages Downloading files over 5Mb in proxy mode didn’t work properly with Active Storage, but this PR fixes the issue. A detailed description of the issue and the fix is in the description.

Make validators accept lambdas without record argument Now you can set validators without passing the object to the lambda like this: validates_comparison_of :birth_date, less_than_or_equal_to: -> { Date.today }

Fix using helpers in content_security_policy and permissions_policy Helpers that are generated using helper_method were not possible to use in content_security_policy and permissions_policy, because the use of yield caused self to be set incorrectly. But by using instance_exec, this PR ensures the scoping is correct.

Add db_runtime to Active Job instrumentation This PR adds db_runtime to the notification payload of a perform.active_job event. db_runtime tracks the total time taken by database queries while performing a job, which helps in understanding how a job’s time is spent.

More details to several HTTP Security Headers in guides Some improvements to the security related HTTP headers in the guides.

Introduce config.log_file_size No more huge log files in development! This config variable is set to 100Mb in development and test environments and Rails will rotate your log file when reaches the limit. In production the limit is unlimited by default.

Since last week, 39 people contributed to Rails. As usual, there are too many changes to cover them all, but you can check out all of them here. Until next time!