Today I Learned

hashrocket A Hashrocket project

IRB completion disabled for production in Rails

In the past, we've written about how to disable IRB autocomplete on Heroku. However, as of Rails 7.1, the Rails console turns off IRB's autocompletion feature in production by default.

As usual, there is a way to customize the functionality, so setting IRB_USE_AUTOCOMPLETE=true can override this default.

See More #rails TILs
Looking for help? Hashrocket has been an industry leader in Ruby on Rails since 2008. Rails is a core skill for each developer at Hashrocket, and we'd love to take a look at your project. Contact us and find out how we can help you.