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

推荐订阅源

Martin Fowler
Martin Fowler
有赞技术团队
有赞技术团队
博客园_首页
H
Help Net Security
GbyAI
GbyAI
aimingoo的专栏
aimingoo的专栏
V
Visual Studio Blog
The Cloudflare Blog
腾讯CDC
Jina AI
Jina AI
Last Week in AI
Last Week in AI
月光博客
月光博客
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
Blog — PlanetScale
Blog — PlanetScale
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
爱范儿
爱范儿
N
Netflix TechBlog - Medium
F
Fortinet All Blogs

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
This Week in Rails: Mailer preprocessing and new ERB handler
David Heinemeier Hansson · 2017-01-28 · via Ruby on Rails: Compress the complexity of modern web apps

Saturday, January 28, 2017
Posted by kaspth

Steampunk! It’s all the rage with the kids these days.

Honestly, I was going to work this better into the lead but then I ran out of… ssssstea… 🤓

Anyway friendo! Here’s what Kasper dug up from this week in Rails.

This Week’s Rails Contributors

This week we got 33 committers: welcome or hello again! Either way, you all seem to be on the right track 😉

Action Mailer Preprocessing

Incoming! Mailers can now use params allowing for easier preprocessing with before_action akin to Action Controller. To enable call mailers like this: InvitationMailer.with(invitee: person).account_invitation.deliver_later

See the pull request for a considerable A/B example.

Rails uses Erubi for ERB handling

For many years Rails has used Erubis to handle ERB templates, but it’s been deprecated in favor of Erubi. Being 1/6 shorter to type is far from the only thing Erubi has going for it, so dip into the pull request for the full list 😄

One more thing

Steampunk! It’s hip, it’s wholesome and for the whole family.

Wrapping up

That’s it from This Week in Rails! There were many other great contributions, too numerous to list here, but feel free to check them out!

See ya!