Rubyonrails iconRubyonrailsSep 18, 2026 ~1 min source read

JSON schema cache, herb:check, and more!

Active Record schema caches can now be dumped in JSON Point schema_cache_path at a file ending in.json and Active Record dumps and loads the cache in JSON instead of YAML or Marshal. On a production app with 944 tables, JSON loaded about 22x faster than YAML.

JSON schema cache, herb:check, and more!

Share this story

Send the public story page.

Useful takeaways from this story.

Active Record schema caches can now be dumped in JSON Point schema_cache_path at a file ending in.json and Active Record dumps and loads the cache in JSON instead of YAML or Marshal.

On a production app with 944 tables, JSON loaded about 22x faster than YAML.

Add a herb:check rake task bin/rails herb:check compiles every HTML+ERB template through Herb, using the same resolvers the runtime lookup uses so variants,…

Building the complete brief

The page is ready to read now. The fuller skim-friendly version will appear here automatically.

The useful part

Active Record schema caches can now be dumped in JSON Point schema_cache_path at a file ending in.json and Active Record dumps and loads the cache in JSON instead of YAML or Marshal. On a production app with 944 tables, JSON loaded about 22x faster than YAML. Add a herb:check rake task bin/rails herb:check compiles every HTML+ERB template through Herb, using the same resolvers the runtime lookup uses so variants,…

How it works

  • A week of things that should just work: schema cache that loads in JSON, PostgreSQL names that resolve to one table, Active Storage that boots even when libvips is missing or too old, and Live responses...

Keep reading in the app

Open the app view to save this story, compare related coverage, and continue from the same source.

Open in app