
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
rails_dt
gem gives you the DT.p()
method to print debug messages.
In your Gemfile
, add:
gem "rails_dt", "git: https://github.com/dadooda/rails_dt.git"
Now, in your code, do something like:
DT.p "checkpoint 1"
DT.p "user", user
Debug messages are printed to:
Rails.logger
in Rails mode (auto-detected);STDERR
in non-Rails mode;log/dt.log
if log/
exists in project root and is writable.This is often handy:
$ tail -f log/dt.log
Let me check a few popular out-of-the box implementation used by many of developers against "the ideas" items listed above.
Rails.logger
:
Kernel::p
:
p
calls hide well among lines of meaningful code and it isn't always easy to spot them.Feedback of any kind is greatly appreciated.
— Alex Fortuna, © 2010-2017
FAQs
Unknown package
We found that rails_dt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.