Advertisement · 728 × 90

Posts by Emmanuel (sub to my Rails YouTube)

Post image

Added Ruby code highlighting to RailsERD.com. Moreover, with breadth-first search (BFS), you can now pick a table and view its links to other tables. You can even adjust how far the BFS explores using the "Highlight Depth" feature. It's fast and interactive. Give it a try!

6 months ago 1 0 0 0
Video

I've enhanced railserd.com by adding a feature to highlight connected nodes in large tables simplifying ERDs. Additionally, default Rails tables are now hidden to reduce clutter.

6 months ago 0 0 0 0
Post image

I could use some help if anyone is sitting on HN right now :)

6 months ago 0 0 0 0
Preview
Improvements to routing, Active Storage configs, time tracking, and... Hey, Emmanuel Hayford here with the latest from the Rails codebase. Let's get to it! Oh! In case you missed it, all the talks from #RailsWorld 2025 are now available online here. Fix SCRIPT_NAME…

Just published a new issue of This Week In Rails! 📰

world.hey.com/this.week.in...

7 months ago 0 0 0 0
Post image

Witnessing your own application among the list of apps you frequently use is a satisfying feeling, especially knowing it will soon be available to others. I'm particularly thrilled about an upcoming feature that will provide AI support for childcare professionals. I can hardly wait!

7 months ago 0 0 0 0
Post image

Just as Ruby uses `nil` to mean “no value,” UUIDs define an all-zeros “nil UUID,” available in Rails as `Digest::UUID.nil_uuid` which could come in handy if you’re looking for type consistency in APIs, etc.

7 months ago 5 0 0 0
Preview
Structured Event Reporting lands in Rails! Hi! Emmanuel Hayford here with some Rails codebase updates for you! Add #assert_events_reported test helper Rails added a new test helper that lets you assert multiple events were reported within a…

A lot of the This Week In Rails issues don't disappoint, this one is no different. I published a new issue! world.hey.com/this.week.in...

8 months ago 0 0 0 0
Advertisement
Preview
Deprecating Associations, Cleaner Backtraces, and Smarter Defaults Hi! Emmanuel Hayford here with some cool updates for you. 😎 Deprecated associations You can now mark associations as deprecated using: `has_many :posts, deprecated: true` Active Record will report any...

I published a new edition of This Week In Rails. The first entry is quite interesting, check it out:

world.hey.com/this.week.in...

9 months ago 9 1 1 0
Post image

I've spent the last 3 days building something I've always wanted to have for myself. Things are shaping up nicely. Of course, I'm using Rails, Hotwire and considering slapping Trix in there as well! 🤞

10 months ago 0 0 0 0
Preview
029: Tuning Ruby on Rails App Performance with Jean Boussier | The Rails Changelog | Episode 29

@byroot.bsky.social from Rails and Ruby core and senior staff engineer at Shopify, joined me on The Rails Changelog Podcast to talk everything about tuning performance in Ruby on Rails Apps. This episode is packed. Listen: share.transistor.fm/s/23962290

1 year ago 17 5 0 0
Preview
Optimizing Ruby’s JSON, Part 2 In the previous post, I covered my motivations for improving ruby/json’s performance, and detailed the first 4 notable optimizations applied to speed up JSON generation.

If you write Ruby, read this: https://buff.ly/4gMgkiy by @byroot.bsky.social.

1 year ago 0 0 0 0
Post image

Some awesome news for the Ruby community!

1 year ago 1 0 0 0
Preview
The Rails Changelog Stay in the loop with development news around Ruby on Rails and Ruby. Hosted by Emmanuel Hayford.

Excited to announce that Jean Boussier—Rails Core team member, Ruby commiter, and Senior Staff Engineer at Shopify—will join me on The Rails Changelog to delve into Ruby on Rails Performance Optimization! Send in your questions! 🔴

1 year ago 12 3 1 0
Preview
Ruby Community Conference - Winter 2025 Get ready for Ruby Community Conference. Join our amazing speakers for awesome portion of Ruby

Just snagged an early bird ticket to Ruby Community Conference in Kraków—it's practically in my backyard... no way I'm missing it. Can't wait!

1 year ago 2 0 0 0

We'll be happy to have you! <3

1 year ago 1 0 0 0

I do agree with you 100% on this one. There's nothing more straightforward than import maps. What I like is that Rails for example doesn't force "no build" on you, it gives you options. I started working on an app recently, considered the requirements and just picked esbuild.

1 year ago 3 0 0 0
Advertisement
Preview
Ruby Community Conference - Winter 2025 Get ready for Ruby Community Conference. Join our amazing speakers for awesome portion of Ruby

I already secured my ticket for #ruby community conference so I can spread the news that early bird tickets are available 🗣

@rosa.codes and @tenderlove.dev on stage in Kraków Feb 28th rubycommunityconference.com

Who's coming?

1 year ago 9 3 0 0

Done! :D

1 year ago 0 0 2 0

blog post... or it didnt' happen 😃

1 year ago 6 0 2 0
High Performance PostgreSQL for Rails Book Software Engineer, Author, Consultant

Writing this book was demanding, and while very rewarding, not particularly lucrative. Sales events like Black Friday really help!

Please consider adding a rating, review, sharing, or buying a copy. Your support fuels new updates, editions, and future titles. Thanks!
andyatkinson.com/pgrailsbook

1 year ago 9 3 2 0

There's WIFI in an active volcano? I hope you're OK! 🤪

I'm guessing you're in Iceland, Peru or Indonesia then?

1 year ago 0 0 1 0
Preview
Tuning Performance for Deployment — Ruby on Rails Guides Tuning Performance for DeploymentThis guide covers performance and concurrency configuration for deploying your production Ruby on Rails application.After reading this guide, you will know: Whether…

There's a new official Ruby on Rails Guide on performance tuning that you probably have not seen that I think every Rails developer should read once at least:

1 year ago 28 12 0 0

😁🙏🏾

1 year ago 0 0 0 0
Advertisement
Post image

I had paid for a Rails Changelog (https://buff.ly/3ZcxIHn logo earlier. It was too complicated visually and for print. I designed this one myself a few months ago. Presenting the fresh logo for the Rails Changelog, everyone! Keep an eye out for stickers at conference venues! 🥳

1 year ago 3 0 1 0
Migrations in Rails 8: Using the New Not Null Shortcut In the latest version of Ruby on Rails (Rails 8), developers have been given a handy new shortcut for adding a NOT NULL constraint to database columns. This small but powerful enhancement simplifies t...

Created a new Rails 8 app. Wanted #postgresql not null constraints in generated migrations, w/o editing each migration.

Turns out it's now possible. With a bang! 💥

rails generate scaffold Account name:string!

www.mintbit.com/blog/migrati...

@siaw23.bsky.social @winsletts.bsky.social

1 year ago 47 13 0 3
UsingRailsUsing Rails

usingrails.com

1 year ago 6 0 0 0
Post image Post image

Some folks run jobs in transactions causing all sorts of errors in productions. Rails has made Active Job smarter: Active Job will automatically defer a job until after a transaction has committed and drop the job if the transaction is rolled back. Consider the following:

1 year ago 1 0 0 0
Post image

Rails allows you to call EXPLAIN on relations like `User.all.explain` but did you know you could also run EXPLAIN on queries returned by `first`, `last`, `pluck` and aggregate functions like `count`, `average`, `maximum`, `minimum` and `sum`? Optimise away!

1 year ago 23 7 0 0
Post image

RSpec has offered this capability for quite some time, but in case you missed it, if your Rails app uses minitest, you can now execute tests within specified line ranges. For instance, only the tests found between lines 10 and 20 will be executed in this example.

1 year ago 1 0 1 0
Post image Post image

Scrolling through my photos from #RailsWorld, I almost forgot that Rails is set to introduce even more exciting features beyond what's already available in Rails 8. For most apps, ElasticSearch won't be necessary anymore, as Active Record Search will take its place!

1 year ago 3 0 2 0