August 12, 23:36
Dmitry V. Sabanin recently announced his PrettyException project on ruby-talk. It's an attempt to turn web-app box from black to white by making the internals more transparent. About his own usage, he said:
I find it very useful when you develop something for Web and you don't have access to apache logs. For myself, I'm using PrettyException when I develop a web site, and when it's time to release it, i turn PrettyException off.
This is indeed a critical component of any web-application framework. How easy is it to spot an error, how much information are you supplied to locate it, and how much time does the fix-test cycle take.
Rails is extremely focused on providing a grade-A handle at all three crisis points. Here's a snapshot of the old version of how exception handling in templates was done in Rails.
In the current version, it's also tracking the nesting of templates (so when an error occurs in an included template, you can see how included it up the chain). The template parameter dumps are also made much more readable by using YAML to do pretty printing.
More importantly, though, is that Rails acts intelligently in the face of stackdumps and collection inspections. I always found it so funny to read a dump from Tomcat. 120 lines of framework internals exposed to the unwitting spectator. Totally oblivious as what to look for.
So as far as it's possible, Rails will determine what's relevant in a stacktrace (the lines from your own app) and in a collection dump (the variables you assigned) and then deemphasize the rest.
Of course, these details views inside the internals of a Rails application are only exposed to requests deemed "local". Everyone else will automatically be routed to a public error page.
The cool thing about having this distinction in code is that you can keep it in a production system. So when you need to debug something on a live system, you'll have a condition present that triggers the local condition for the developer (like a fixed IP), so he'll get the full story when he needs to investigate real-world bugs.
And in the real world is where he's likely to need the information the most. It's where all those odd inputs he never thought about are popping up. And without a looking glass, it's all too easy to just rip out your hair in frustration over "this shouldn't be happening!". When the internals are transparent, the solution is often obvious.
Challenge by Chris Gahan on August 18, 0:05
Excellent! I love intelligent data emphasis. :)
There's something cool that webware does which you might like -- when you're running a prouduction server, if there's an error the user sees a simple error page, but the traceback (in HTML) is written to a file in an error-log directory.
It's handy for errors that can only be reproduced by poor innocent users. :)
Challenge by abay on June 04, 11:59
Hello. I am new here. It is very interesting.
free thumbnail pictures of older women mature spunker mature gallerys mature nudists photos mature amature mature amature free thumbnail pictures of older women mature nudists photos classic mature mature video mature women stories mature anal mature spunker mature amature lyrics to older country songs free thumbnail pictures of older women mature video mature video mature amature mature bitches mature bitches mature living mature bitches mature bitches older women and younger men mature bitches mature gallerys mature women stories mature bitches mature living mature bitches mature ladies in lingerie mature nud3 pics south indian mature women mature ladies in lingerie nud3 senior women mature nudists photos free thumbnail pictures of older women mature video free naked older women
Challenge by nik on June 04, 19:58
Hello. I am new here. It is very interesting.
creampies movies wife oral creampies teen anal creampies creampie ass creampie video clips creampie ass creampie eating stories creampie video clips cum creampie creampies movies hairy creampie creampies movies teen anal creampies creampies movies free creampie video creampie pussies free creampie thumbnails mature creampies cum creampie free anal creampie movies free creampie video creampies free ass creampie free creampie thumbnails free creampie pics free creampie video clips teen anal creampies creampie eating stories hairy creampie japanese creampie links creampie video clips japanese creampie links creampie ass creampie video store hairy creampie ass creampie creampie ass creampie t9p creampies movies creampie video store
Challenge by angel on June 05, 17:29
Hello. I am new here. It is very interesting.
mature over 50 older women younger men mature wives free mature p0Rn older thumbs mature asian free older women mature women nud3 mature babes mature amateur free mature s3x mature over 50 mature babes mature babes mature men galleries free mature p0Rn mature over 50 older women younger men older women younger men mature women t9p mature women nud3 dating mature women mature 1esbians dating mature women mature women t9p mature women t9p free mature p0Rn mature women nud3 dating mature women mature amateur mature asian older men younger women older thumbs mature nud3 women mature babes older women younger men mature women in stockings mature wives older thumbs mature babes
Challenge by alan on June 05, 21:19
Sorry for my links
panty fetish young teens in bra panties free pantyhose thumb galleries teens in panties free links mature ladies in pantyhose cheerleader panty pics leggs pantyhose pictures of women in crotchless pantyhose pictures of men wearing pantyhose young teens in bra panties mature pantyhose pics pantyhose links.com pictures of women in crotchless pantyhose mature ladies in pantyhose used pantyhose mature pantyhose pics men's pantyhose men's pantyhose visible panty lines pics pictures of men wearing pantyhose used pantyhose mature pantyhose pics young girls in panties pictures of men in pantyhose panty fetish mature ladies in pantyhose teens in panties free links free panty movies used pantyhose free panty movies free panty movies young teens in bra panties pictures of men in pantyhose men caught wearing pantyhose young teens in bra panties leggs pantyhose mature pantyhose pics teens in panties free links satin panty galleries teens in panties free links
Challenge by angel on June 06, 11:28
Hello. I am new here. It is very interesting.
mature asian women black older ladies mature mistress mature index mature index mature hardcore links older black women naked old women thumbs naked old women thumbs older 1esbians naked old women thumbs mature index mature big tits mature nudists mature nudists mature women over 40 older 1esbians black older ladies how to meet older women mature pic gallery naked old women thumbs mature index mature big tits mature women over 40 older 1esbians older 1esbians mature pantyhose pictures older holland older women stories mature glamour mature glamour young girls older men older 1esbians older holland mature women over 40 young girls older men young girls older men mature women over 40 mature pic gallery mature asian women
Challenge by den on June 08, 0:33
Sorry for my links
cheerleader panty pics panty post hooters girls in pantyhose girls in nylons girls in nylons girls in nylons panty fetish girls in nylons wet pantyhose men caught wearing pantyhose mature women in pantyhose men caught wearing pantyhose white pantyhose mature women in pantyhose white pantyhose free wet panty pantyhose images men caught wearing pantyhose mature women in pantyhose panty fetish white pantyhose free wet panty mature pantyhose pics men's pantyhose men caught wearing pantyhose winnie-cooper pantyhose men's pantyhose white pantyhose wet pantyhose winnie-cooper pantyhose men caught wearing pantyhose white pantyhose men's pantyhose mature pantyhose pics office girls in nylons celebrities in pantyhose cheerleader panty pics winnie-cooper pantyhose cheerleader panty pics panty post
Challenge by lorry on June 08, 4:06
Hi. This is my links.
pantyhose fetish free pantyhose sites shiny pantyhose shiny pantyhose free panty galleries free pantyhose sites panty line pics teens in pantyhose bra and panty pics free pantyhose pics panty line pics crotchless pantyhose panty line pics shiny pantyhose free panties free panty galleries pantyhose men pantyhose pic gallery panty girls mature women in nylons little school girls panties panty line pics mature women in nylons pantyhose fetish crotchless pantyhose teens in pantyhose free pantyhose pics free pantyhose sites pantyhose pic gallery wolford pantyhose teens in pantyhose pantyhose men free pantyhose pics pantyhose men little school girls panties panty girls free panties pantyhose fetish teens in pantyhose free panties
Challenge by poker rules on June 20, 23:25
Take your time to check some information in the field of poker rules poker rules http://poker-rules.zindagi.us/ ...