ActualDbSchema - lightning talk Euruko 2025

Make your Rails development journey more productive and enjoyable with actual_db_schema. This is my lightning talk from Euruko 2025. - Download as a PDF or view online for free

SlideShare

#actual_db_schema v0.8.5 is out with a fix allowing the gem to work without git. More details are in this Reddit post: https://bit.ly/43JUI3h

#rubyonrails #rails #ruby #opensource

ActualDbSchema v0.8.4 is out! 🎉 Fixes: initializer file breaking non-dev Rails envs & switch to prism gem for Ruby 3.4. Thanks all!

https://bit.ly/4kIAHQF

#actual_db_schema #ruby #rails

Release v0.8.4 · widefix/actual_db_schema

What's Changed Skip initializer if ActualDbSchema is undefined by @garyhtou in #151 Switch from parser to prism by @m-darbinyan in #152 New Contributors @garyhtou made their first contribution i...

GitHub

Meet the next release of ActualDbSchema, featuring two great additions:

- Easily run DDL commands in Ruby directly from the Rails console.

- Trace schema.rb diffs effortlessly — a new rake task in the gem pinpoints the migration causing the diff right in your terminal.

More details here:

https://blog.widefix.com/trace-schema-changes-and-run-migrations-in-rails-console-with-actualdbschema/

We’d love to hear your feedback! Thanks, and happy coding!

#rails #actual_db_schema

Trace Schema Changes & Run Migrations in Rails Console with ActualDbSchema

Some description goes here.

Take your Rails development to the next level
🚀 The next release of #actual_db_schema is bringing a great new feature! You'll be able to trace which migration caused a schema.rb diff easily — making debugging smoother than ever. #rails #ruby
https://github.com/widefix/actual_db_schema/pull/122
Let me know if you'd like further tweaks!
Add a possibility to find a migration that added specific change into schema.rb by m-darbinyan · Pull Request #122 · widefix/actual_db_schema

Closes #94 Description This PR adds a diff_schema_with_migrations Rake task to generate a diff of the schema.rb file annotated with the migrations responsible for each change. This feature allows d...

GitHub

🚀 Big news! The latest version of #actual_db_schema is here, now with multiple schema support! 🎉 Plus, a host of other useful fixes.

👉 Dive into the full changelog for all the details:
https://blog.widefix.com/multiple-schemas-support-added-to-actualdbschema/

Multiple schemas support added to ActualDbSchema

Some description goes here.

Take your Rails development to the next level
#actual_db_schema (https://github.com/widefix/actual_db_schema) just hit 300 stars on GitHub! 🎉 Thrilled to see it helping so many developers out there. Huge thanks to everyone who has contributed, shared, and supported the project.🌟 #rubyonrailsdevelopment #productivity
GitHub - widefix/actual_db_schema: Wipe out inconsistent DB and schema.rb when switching branches. To do that, install this gem and use the standard rake db:migrate command.

Wipe out inconsistent DB and schema.rb when switching branches. To do that, install this gem and use the standard rake db:migrate command. - widefix/actual_db_schema

GitHub

🚨 New in #actual_db_schema v0.7.9: No more frustrating halts on failed phantom migrations! Instead of "failing fast," errors are now collected and reported in the console, keeping your workflow smooth and helping you complete schema dumps without interruptions.

Read more info here - https://www.reddit.com/r/rails/comments/1fb1vx9/a_change_that_makes_experience_with_actual_db/

Sometimes I even have doubts the #actual_db_schema works. The experience is so smooth that I don't notice that it keeps the db schema up to date in every branch I switch without any effort. But today I got the following error. This is a very rare situation as acronyms are not so popular. Nevertheless, this issue will be definitely be solved - https://github.com/widefix/actual_db_schema/issues/95
Phantom migrations with Acronims defined in another branch don't work · Issue #95 · widefix/actual_db_schema

The TS360 acronym was defined in another branch, and the migration was migrated. Then the following error appeared: NameError: uninitialized constant AddTs360UsersAddressesAssoc Did you mean? AddTS...

GitHub