I would like to disable autocomplete in Pry. How to do it? I'm using it in Rails console(from Emacs/inf-ruby) and it is very slow and annoying in my ...
I would like to disable autocomplete in Pry. How to do it? I'm using it in Rails console(from Emacs/inf-ruby) and it is very slow and annoying in my ...
When I run an ActiveRecord query in my local console, I am shown both how long the query took to run (in ms) and the raw SQL that was generated from m ...
byebug doesn't seem to be able to handle multiple lines of code. Example I put byebug into the controller, and the next lines of code are (these cou ...
Suppose we have pry installed, open the rails console, and run Evaluation stops after line 2 (since the output of the second line runs off screen a ...
I'm working with a local library (gem), let's call it B, inside my rails application A (Rails version 6.0.2.2) In A's Gemfile, I require B via: Wh ...
I'm trying to develop a cart system(for a practice e-commerce project) on rails 6. The code(explaination): I have a link with class attribute "add_t ...
I recently discovered that ls in pry can take an argument like so: ls -l. My initial question is what the -l part actually is - it is clearly not a ...
ruby 2.3.1 rails (3.2.22.4) rspec-rails (2.14.2) pry-rails (0.3.2) pry-byebug (3.6.0) pry (0.10.4) I am using a bit old version of Rub ...
I'm experiencing a strange issue with a ruby function I wrote to remove unwanted items from a hash created by parsing a JSON string. The function will ...
How can replace irb and rails console with pry/pry-console globally for every project without having to include it in a project? ...
I have a small problem. I am making a simple project website which has 4 models (users, articles, discussions, comments). The following associations ...
I have this simple rails code and something weird is happening. As you can see params.nil? is true and it's still calling the else part. What am I mis ...
When I create a post, I'm adding the watchers of the post. So when the admin creates a post it will be add on the join_table post_watchers. And when I ...
I tried the approach with tty: true stdin_open: true inside docker-compose.yml and attaching to the container id (following http://www.chris-kelly.net ...
I have discovered Pry not so long ago, but there are several aspects of Pry I don't like Cannot start writing before all libraries finish loading ...
I am not familiar with Ruby, but I am anyway trying to install and test iQvoc ( https://github.com/innoq/iqvoc ). After some initial problems I manage ...
I have an image blob written to a field in the db, but I don't want to see that output in a console when I view the user object. I don't need the out ...
I use Rails 4 with the gems byebug, pry-rails, pry-byebug, pry-stack_explorer. When i replace in a view file: with and type inside the console ...
I'm confused about which gems need to be installed to correctly run Pry in a Rails 4.2 project. I seemed to be doing fine until recently. For some rea ...
I'm currently writing specs for my Rails controller. I can't seem to get any puts statement or binding.pry, or binding.remote_pry working. I am able ...