Ruby on Rails 8 · Maintenance and tools
Clear temporary files
Clear cache, sockets and sessions in tmp.
bin/rails tmp:clear
Official Ruby on Rails 8 documentation
More maintenance and tools commands
- Edit encrypted credentials
- Run code in the app
- List TODO comments
- List the middleware stack
- Check autoloading
- Precompile assets
All maintenance and tools commands · Ruby on Rails 8 cheatsheet