Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention irb_debug alternative in the docs #710

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

janko
Copy link
Contributor

@janko janko commented Sep 12, 2023

When starting an IRB session via binding.irb inside a Rails view template, the debug method cannot be used because it's already defined in Action View.

I only found out about irb_debug from the IRB warning can't alias debug from irb_debug, so I thought it would be useful to mention it in the documentation.

Copy link
Member

@st0012 st0012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a nice addition, thanks 👍

@st0012 st0012 merged commit ebc684c into ruby:master Sep 13, 2023
24 checks passed
@janko janko deleted the mention-irb-debug branch September 14, 2023 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants