ๆƒฏๆ€ง่šๅˆ ้ซ˜ๆ•ˆ่ฟฝ่ธชๅ’Œ้˜…่ฏปไฝ ๆ„Ÿๅ…ด่ถฃ็š„ๅšๅฎขใ€ๆ–ฐ้—ปใ€็ง‘ๆŠ€่ต„่ฎฏ
้˜…่ฏปๅŽŸๆ–‡ ๅœจๆƒฏๆ€ง่šๅˆไธญๆ‰“ๅผ€

ๆŽจ่่ฎข้˜…ๆบ

็ฝ—
็ฝ—็ฃŠ็š„็‹ฌ็ซ‹ๅšๅฎข
Google DeepMind News
Google DeepMind News
MyScale Blog
MyScale Blog
A
About on SuperTechFans
Martin Fowler
Martin Fowler
M
MIT News - Artificial intelligence
Recent Announcements
Recent Announcements
D
DataBreaches.Net
B
Blog
ๅš
ๅšๅฎขๅ›ญ - ใ€ๅฝ“่€็‰นใ€‘
็ˆฑ่Œƒๅ„ฟ
็ˆฑ่Œƒๅ„ฟ
ๆœ‰่ตžๆŠ€ๆœฏๅ›ข้˜Ÿ
ๆœ‰่ตžๆŠ€ๆœฏๅ›ข้˜Ÿ
P
Proofpoint News Feed
WordPressๅคงๅญฆ
WordPressๅคงๅญฆ
ๅฐไผ—่ฝฏไปถ
ๅฐไผ—่ฝฏไปถ
Apple Machine Learning Research
Apple Machine Learning Research
I
InfoQ
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
Microsoft Azure Blog
Microsoft Azure Blog
้›ทๅณฐ็ฝ‘
้›ทๅณฐ็ฝ‘
้‡
้‡ๅญไฝ
G
Google Developers 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
๐Ÿ„ This week in Rails ๐Ÿ„: MariaDB, Action Cable, and more!
David Heinemeier Hansson ยท 2016-04-16 ยท via Ruby on Rails: Compress the complexity of modern web apps

Hello everyone!

Jon here bringing you This Week in Rails from the sunny surf town of Biarritz, France ๐Ÿ‡ซ๐Ÿ‡ทโ˜€๏ธ

Ready to jump in and catch a few waves of updates?

Grab your surfboard and letโ€™s go!

This Weekโ€™s Rails Contributors ๐Ÿ†

Please share some aloha ๐ŸŒธ for the 27 daring riders who contributed to Rails (and world happiness) this week, including 4 committers who caught their first wave ๐Ÿ˜๐Ÿ˜Ž! You can, too! Check out the current issues if youโ€™d like to paddle out, make new friends and join the fun ๐Ÿ’™

MariaDB support comes to Rails 5! ๐ŸŽ‰

Thanks to Jeremy Daer, Ryuta Kamizono, Vipul A M and Ian Gilfillan, Active Record is now fully compatible with MariaDB โค๏ธ๐Ÿ’›๐Ÿ’š๐Ÿ’œโ€ฆ click on our heroesโ€™ names to open the commits and see what went down behind the scenes!

MariaDB is a community-developed open source fork of MySQL. Notable users include Wikipedia, Facebook, Google and, yes, Basecamp 3! Here is a good Wikipedia article about MariaDB and MySQL history. Game on!

๐ŸŒŠ Improved ๐ŸŒŠ

Run Action Cable callbacks through the worker pool

Everybody out of the pool! ๐ŸŠ It was getting crowded in the water, but luckily our experienced Baywatch lifeguards Matthew, Sean and Jeremy ๐Ÿ‹ were on hand to, er, pool their efforts to ensure your database connections are managed automatically when Action Cable is involved! Synchronized water ballet, anyone?

Fewer string allocations in number helpers

No Strings are better than NoSQL, right? Ankit noticed that the number_to_delimited and number_to_rounded helper methods were creating duplicate strings. Check out the pull request to see how he improved it using derailed_benchmarks to check object allocations ๐Ÿฐ

Speed up and handle max_time edge cases

Rails has the need for speed ๐Ÿ’จ and surfers Blake and Xavier managed a crowd-pleasing acceleration maneuver in AS::FileUpdateChecker using a single loop memoization rather than multiple loops, benchmarked using benchmark-ips. Itโ€™s good stuff; see the PR for more! ๐Ÿฆ

Speed up attribute_changed? in ActiveModel::Dirty

Faster than relocating to San Francisco โœˆ๏ธ (and much more fun), sun-drenched rider Lihan was able to speed up attribute_changed? by setting the default options parameter to nil instead of a hash, and checking the result with benchmark-ips ๐Ÿ˜Ž

๐ŸŒด Fixed ๐ŸŒด

Disallow #deliver_later after local message modifications

Lifeguard Jeremy came across a common, hard-to-detect ๐Ÿž in the water: Local message changes werenโ€™t being enqueued with the delivery job when using #deliver_later. This now raises a friendly exception to make sure your message modifications are made in either (a) the mailer method or (b) using a custom Active Job. Nice catch! ๐ŸŒŠ

Revert Hash#transform_keys to always return a Hash

While surfing Mongoidโ€™s test suite, an error alerted our champion Emily ๐Ÿ„๐Ÿพ to a change of behavior in ActiveSupport#symbolize_keys: Rails 4.1 returned a Hash but 4.2/5.0 returned self.class. This launched an interesting discussion on the merits of expected behavior versus matching Rubyโ€™s behavior. Have a look! ๐ŸŽ

๐ŸŒž Wrapping Up ๐ŸŒž

Thatโ€™s all for This Week on the Beach with Railsโ„ข ๐ŸŒด. There were many more improvements (and great waves) than we have room to cover here, so donโ€™t hesitate to jump in and check them out yourselfโ€ฆ the waterโ€™s warm and the locals are friendly! ๐Ÿ‘ฃ๐Ÿพ

See you next week! ๐Ÿ๐ŸŒ๐Ÿ‰๐Ÿ‡