Pry
appmap-ruby
Our great sponsors
Pry | appmap-ruby | |
---|---|---|
35 | 8 | |
6,705 | 94 | |
0.4% | - | |
6.7 | 7.4 | |
5 days ago | 21 days ago | |
Ruby | Ruby | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Pry
-
Ruby 3.3
that's surprising considering `pry`[1] is such an amazing debugger IMO.
-
Enhancing development with REPLs - A practical guide
All of my recent tutorials and projects were primarily managed using the default Ruby REPL, irb, and I must say it's been nothing short of amazing. However, what ultimately prompted me to switch to Pry was its offering of better defaults. But what exactly does that mean? Let me demonstrate:
-
Debugging Help
For older versions: Pry Gem
-
Anyone else working through Michael Hartl's Learn Enough RoR Series that might be able to help me with a failing unit test?
To do that, I would install `pry` into your rails project and then use it look around right before your test fails.https://github.com/pry/pry
- I made a tool to help cleanly copy & paste code from irb/pry sessions
-
shell-maker: Make your own shell in 15 lines of elisp (batteries included)
This means I can be editing a shell script and easily inject arbitrary regions into a shell buffer for immediate testing (point never leaves the window where I am editing, and I can view the shell output in an adjacent window). This is similar to what Robe does with Pry within an inferior Ruby process using comint.
-
Building GitHub with Ruby on Rails
https://pry.github.io/ - also a lot of features from Pry have made it into the default IRB these days, but I still use pry. I don't know the equivalent commands in IRB.
-
Is parallel threading never going to be a thing?
For debugging, while not multi-threaded, to my knowledge, is the pry gem for debugging. There are a few different flavors, for instance, my favorite is pry-byebug.
-
Top 5 Ruby on Rails Gems
Github Link : https://github.com/pry/pry
-
It’s a bit buggy, but it’s been so nice to use!
Fleet does not currently support ruby.
appmap-ruby
-
Automatically Generate and Update OpenAPI Documentation
AppMap currently supports Ruby, Java, Python, and Javascript projects and the libraries are MIT licensed.
-
what ruby or rails open source projects a beginner-to-intermediate developer can easily contribute to?
Well, I’m definitely biased, but we welcome devs at all XP levels at the appmap project. Take a look. If you can’t find a good first issue @ Dan, Dustin, Kevin, or Petr in the Discord and someone will hook you up. https://github.com/applandinc/appmap-ruby We have needs from doc to core features!
-
4 ways to accelerate JSON processing with Rails and PostgreSQL
AppLand is an open source framework that developers can use to record, analyze, and optimize end-to-end code and data flows. The framework provides client agents for Ruby, Java and Python (beta) that record running code and generate JSON files called AppMaps. Users can view and analyze AppMaps locally using the AppMap extension for VS Code, and also push AppMaps to the AppLand server for analytics, sharing, discussion etc.
-
Effective SQL - Indexing and denormalizing JSONB
Now, what if you want to be able to efficiently fetch a subset of JSONB data, without having to load and parse every object? At AppLand, we store AppMap data in the database. Each AppMap has a mandatory section called metadata, and we want to be able to efficiently pull out the metadata of selected rows without having to parse the entire JSONB column (the metadata is usually less than 1% of the total JSON object). Awesomely, since PostgreSQL 12, PostgreSQL has a feature called generated columns.
-
How to watch your code interact with the Rails framework (and other gems)
Install the appmap gem by following the instructions in the README. Here's a quick checklist:
-
Why modularity matters - lessons from maintaining monoliths at scale
[3] AppLand framework, a tool to record, display, and analyze end-to-end code and data flows.
What are some alternatives?
Byebug - Debugging in Ruby 2
irbtools - Improvements for Ruby's IRB console 💎︎
Hirb - A mini view framework for console/irb that's easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu.
debug - Debugging functionality for Ruby
pry-remote - Connect to Pry remotely
packwerk - Good things come in small packages.
delve - Delve is a debugger for the Go programming language.
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
AppMap - AppMap is the ultimate code reviewer for issues that static analysis and AI code assistants cannot find.
pry-rescue - Start a pry session whenever something goes wrong.
Amazing Print - Pretty print your Ruby objects with style -- in full color and with proper indentation
Ruby on Rails - Ruby on Rails