I want to make monitoring 1 site...
I don't have idea about it.. so I think that is idea for solve...

do you have idea???

On Sun, Jan 11, 2009 at 11:55 PM, Phlip <[email protected]> wrote:

>
> anton effendi wrote:
>
> > I want to run test:unit in controller and the result will show on
> > view..... Any body can help me???
>
> > Wu You Duan
>
> (BTW which one are you?)
>
> You can run a script from the view like this:
>
>  <pre><%=h `rake test:units` %></pre>
>
> However, why would you do such a thing? Unit tests should run while you
> edit,
> before you manually test in development mode, and way before production
> mode.
>
> --
>   Phlip
>
>
> >
>


-- 
Wu You Duan

--~--~---------~--~----~------------~-------~--~----~
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