How to Remove ActiveStorage & ActionMailbox Routes in Rails

Опубликовано: 24 Август 2026
на канале: Mike Rogers
1,311
28

Rails adds extra routes by default for ActiveStorage & ActionMailbox, they're great libraries but here is how to remove those routes if you're not using them.

Sources

➡ "rails/all" source: https://github.com/rails/rails/blob/m...

Chapters

0:00 - What are we going to do
0:26 - --skip flags during rails new
1:28 - Looking at a fresh app
3:02 - Remove from existing project

Follow Me Online

➡ Blog: https://mikerogers.io/
➡ Twitter:   / mikerogers0  
➡ GitHub: https://github.com/mikerogers0
➡ YouTube:    / mikerogers0  
➡ BuyMeACoffee: https://www.buymeacoffee.com/MikeRogers0
➡ Dev.to: https://dev.to/mikerogers0

#RubyOnRails