Reputation: 847
I'm tired of exiting the rails console to update the changes done to the model, re-entering and having to set all variables previously set. Is there a better way to update model settings without leaving the console?
Upvotes: 0
Views: 240
Reputation: 26
I think you are looking for the command: reload!
https://api.rubyonrails.org/classes/Rails/ConsoleMethods.html#method-i-reload-21
Upvotes: 1