On 19 Sep 2008, at 02:24, boblu wrote:

>
> 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    
> 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?
>
> Thank you very much.
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to