rails console history

已回答

I've got a fairly simple question regarding the in-IDE rails console.

Where does it store and pull its command history from?

- It does not seem to be coming from ~/.irb_history

I've typed in some plain text passwords and would like to permanently remove some of those commands from the command history.

0
Avatar
Permanently deleted user

On windows it is saved under <home>/.RubyMine40/system/userHistory, I'd expect it uses similar path on other platform (of course it may be .RubyMine45 or .RubyMine30 dependind on your version of RM)

Oleg.

0
Avatar
Permanently deleted user

To have an small update, in latest versions, in Mac is being stored in ~/Library/Preferences/RubyMine<VERSIONS>/consoles/.history/rb/<CONSOLE_HASH>.txt

0

请先登录再写评论。