Posted over 3 years ago. Visible to the public. External content.

Persist Rails or IRB Console Command History After Exit

Create, or edit your ~/.irbrc file to include:

Copy
require 'irb/ext/save-history' IRB.conf[:SAVE_HISTORY] = 2000 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Author of this card:

Avatar
Thomas Klemm
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Thomas Klemm to makandropedia