I had an alias for reload! command in the rails console:
# ~/.irbrc
if defined? Rails
def r
reload!
end
end
In rails v7.2 this no longer works:
>> r
(stackoverflow):1:in `<main>': undefined method `reload!' for main (NoMethodError)
reload!
^^^^^^^
but reload! still works on its own:
>> reload!
Reloading...
How do I alias reload! with r?