I have awesome_print configured to be my default formatter in IRB (using AwesomePrint.irb! in my .irbrc) and while this is normally awesome, I want to turn it off sometimes. Anybody know how to from a running IRB/Rails console?
How do you disable awesome_print once enabled in IRB or rails console?
1.6k views Asked by bheeshmar At
1
There are 1 answers
Related Questions in RUBY
- how to integrate cashfree payment gateway in ruby on rails project
- RSpec Capybara throwing Selenium error when trying to click a button with browser confirm
- Duplicate GET requests - Rails & Heroku
- convert csv file with json data inside to a column, rows table in 2nd csv file
- Installing dependencies from a gemspec file
- Verifying Google Identity OAuth2 token with Ruby
- Java code of AES/GCM/NoPadding encryption algorithm with authentication tag
- How to fix error in model with gem lockbox
- Cannot install Ruby Gem on Window
- use logstash filter ,aes gcm encrypted in ruby,but cannot decrypted in java
- In Rails 7, what is the right ActiveRecord callback to use if I need to prevent (or rollback) persistance on error?
- How can I go through an array and still remove elements from it
- Nokogiri only returning 5 results
- How do I get the fullscreen mode in firefox?
- undefined group option when using branch reset group regex in Ruby
Related Questions in RUBY-ON-RAILS-3
- is there a way to write this clean?
- HTML to pdf conversion using wickedpdf with page count
- Rails rspec feature itegration testing for basic auhentication
- ImageKit works fine on local but doesn't work on heroku why?
- SSL Configuration Issue: Website Redirects Too Many Times and CSRF Token Mismatch
- How to fix permission error while install bundle for rails project on ubuntu?
- Active Admin filters not displaying on screen but present in the html DOM
- Why is the page title not not changing in a turbo-ios app
- Resolving 'net::ERR_BLOCKED_BY_CLIENT' Error After Upgrading Ruby to 3.2.2 and Rails to 7 with jsbundling Gem
- Cant install Mysql2 Gem::Ext::BuildError: ERROR: Failed to build gem native extension
- Filtering Users with Associated Records by Specific Date in Rails
- How to handle the params for accepts_nested_attributes_for for has_many association containing a lot of fields on both associated table
- Issue when Rounding Decimal values
- Map an activerecord array to avoid that two item with the same attribute are in a sequential position
- Devise Registration Ruby on Rails - Migration Error: Duplicate column name
Related Questions in IRB
- How to get the path of a file without normalisation in ruby?
- Stop Rails IRB and debugger sharing history
- ruby `pry`: can I edit classes defined on the REPL?
- Why Visual studio don't give me an output?
- Prevent Rails console from removing consecutive linebreaks
- IRB Keyboard Shortcuts are disabled? Can these be re-enabled? What did I break?
- How can remove multiline output with Rails console (Rails 6.1.7.2/Ruby 3.1.2)?
- Rails 7 IRB console inserts escape key instead of execute delete command
- What is the traceback/local jumpback error in irb repl when writing multiline code?
- Rails console overriding `~/.irbrc`
- Ruby on Rails undefined local variable or method in console
- adding search function to my rails API (with pg_search), model comming from external DB, getting Object doesnt support #inspect
- Ruby 3 IRB home end and ctrl-u not working
- No history for rails console
- How to copy object from one shell to another shell?
Related Questions in AWESOMEPRINT
- Why isn't awesome_print printing out formatted output in my Rails 4.2 console?
- Why am I getting strong parameter errors in the Rails Console in rails 5?
- Format Params in Rails Server Logs
- How to use Awesome Print to format REST Client logs?
- How do I get awesome_print to work without using ~/.irbrc file?
- Permanently add a directory to Ruby $LOAD_PATH
- How to remove black background on awesome_print
- How to show BigDecimal number as human readable when using ActiveSupport::TestCase
- awesome_print not printing in glorious color multiline layout?
- how to get pretty printing from a form-encoded string
- 'Awesome Print' on the same line
- How do I get Ruby awesome_print to file?
- Debug with Rails
- Ruby's awesome_print to STDERR
- Why doesn't Awesome Print work on some Rails collection objects?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You can paste this in to you terminal to reset it back to what it was originally if you like:
or you can go whole hog and monkey patch AwesomePrint:
Then just call it whenever you want:
AwesomePrint.un_irb!