T
T
t0pep02014-01-27 16:28:41
Ruby on Rails
t0pep0, 2014-01-27 16:28:41

How to debug ruby ​​gem in rails environment?

I am writing my own gem, or rather I am already debugging, I can’t understand where the error is in the gem, I would like to have some kind of debugger that would help deal with local magic. The gem is tied to ActiveRecord and Rails, crashes when receiving parameters (params)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
t0pep0, 2014-01-27
@t0pep0

I figured out that debugging, albeit in a not very convenient mode, is carried out using the "debugger" gem by adding "debug" to the code, in place of the bugs. The error was in incorrect inheritance

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question