View your recent command history in Rails Console
> puts Readline::HISTORY.entries.split("exit").last[0..-2].join("\n")
Written by Daniel Green
Related protips
1 Response
thankyou. i was able to get what i wanted by doing:
Readline::HISTORY.entries.each { |c| puts c }
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Related Tags
#rails
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#