Skip to content

Instantly share code, notes, and snippets.

@olimart
Last active April 9, 2020 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olimart/6256615 to your computer and use it in GitHub Desktop.
Save olimart/6256615 to your computer and use it in GitHub Desktop.
nano ~/.irbrc with Hirb config.
if ENV['RAILS_ENV']
IRB.conf[:PROMPT_MODE] = :SIMPLE
require 'irb/completion'
require 'hirb'
# Hirb.enable
Hirb.enable output: {"ActiveRecord::Base" => {class: :auto_table, ancestor: true, options: {vertical: true}}}
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment