Hi,
Does anyone know whether it is possible to write code which shows me
colored error messages after the validation detects an error?
Regards,
Y
Hi,
Does anyone know whether it is possible to write code which shows me
colored error messages after the validation detects an error?
Regards,
Y
On Dec 7, 2006, at 14:48 , Yu Co wrote:
Does anyone know whether it is possible to write code which shows me
colored error messages after the validation detects an error?
I’m pretty sure you have the wrong mailing list, but I have no idea
which one you want.
–
Eric H. - [email protected] - http://blog.segment7.net
I LIT YOUR GEM ON FIRE!
Eric H. wrote:
On Dec 7, 2006, at 14:48 , Yu Co wrote:
Does anyone know whether it is possible to write code which shows me
colored error messages after the validation detects an error?I’m pretty sure you have the wrong mailing list, but I have no idea
which one you want.
OP probably wanted the Ruby on Rails list.
Nevertheless, I’ve been pondering lately how effective would the act of
colorizing error messages and stack traces be against “scroll blindness”
(when lots of output scrolls by on your terminal and you have to hunt
around for relevant information)?
It might be interesting to try.
Have I understand you correct that colored error message r not possible
yet?
Wilson B. wrote:
On 12/7/06, Suraj K. [email protected] wrote:
Nevertheless, I’ve been pondering lately how effective would the act of
colorizing error messages and stack traces be against “scroll blindness”
(when lots of output scrolls by on your terminal and you have to hunt
around for relevant information)?It might be interesting to try.
In Rubinius, backtraces are instances of the Backtrace class, and they
have methods you can override. Stay tuned, and you could make a
colorized one. Heh
On 12/7/06, Suraj K. [email protected] wrote:
Nevertheless, I’ve been pondering lately how effective would the act of
colorizing error messages and stack traces be against “scroll blindness”
(when lots of output scrolls by on your terminal and you have to hunt
around for relevant information)?It might be interesting to try.
In Rubinius, backtraces are instances of the Backtrace class, and they
have methods you can override. Stay tuned, and you could make a
colorized one. Heh
Yu Co [email protected] writes:
Hi,
Does anyone know whether it is possible to write code which shows me
colored error messages after the validation detects an error?Regards,
Y
the script “script/server” of rails framework can do this,just read it.
–
For some reasons,my EMail had been changed to “KDr2[#]163.com” now…
NO GNUS is Bad News.
------yours Killy Draw
No, they are possible. According to the other posters, you can just
override the Exception/Backtrace class.
Dan
Where can I find the Exception/Backtrace class?
Never heard of them before?
Daniel F. wrote:
No, they are possible. According to the other posters, you can just
override the Exception/Backtrace class.Dan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs