well, we all familar with the way of debugging normal code in
controller, model and the helper.
And I also want to add a ‘debugger’ line to the rake file I created
which load all my data into database when executed,
but I just can not find a way to do so after googling for a long time.
Can anyone tell me how to debug the customized rake file?
I heard that netbeans has a functionality of ‘rake task debug’, I
wonder if radrails has it too?
well, we all familar with the way of debugging normal code in
controller, model and the helper.
And I also want to add a ‘debugger’ line to the rake file I created
which load all my data into database when executed,
but I just can not find a way to do so after googling for a long time.
It’s just regular ruby
rdebug rake – some_task
runs that task inside rdebug
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.