I use the console in Ruby on Rails 3.1.1 and I find its command history (up arrow) to be really flaky. I ran the p = Product.by_name 'Acme' and p.add_search_term('Snipe') several times today, in several console sessions.
However, when I restart the Ruby on Rails console, only the first, not the second, is displayed in my command history. Sometimes they are both present in the story after the console reboots. In addition, I see commands in my story that happen a few days ago after clicking the arrow only a few times. Is there some kind of configuration I need to change or is this a bug?
- Ruby on Rails 3.1.1`
- Ruby 1.9.2p290`
- Ubuntu 11.10`
ruby-on-rails-3 rails-console
jcollum May 05 '12 at 19:29 2012-05-05 19:29
source share