Live data from Hacker News

Better Rails errors

github.com

1–10 of 50 posts

Re: Better Rails errors

#2
This was always something of a killer feature for me in Python, and one of the reasons I use Flask a lot. Good to see Rails support for in-browser debugging, it's a super convenient workflow to never have to go back to the terminal, just alt-tab from editor to browser.

Re: Better Rails errors

#7
Seems super-useful. Thanks. I see you require binding_of_caller for advanced features (which exactly are those, btw?). That gem only works on 1.9. Do they work on 1.8.7 ? Does the gem work on 1.8.7 at all ?

Re: Better Rails errors

#8

Seems super-useful. Thanks. I see you require binding_of_caller for advanced features (which exactly are those, btw?). That gem only works on 1.9. Do they work on 1.8.7 ? Does the gem work on 1.8.7 at all ?

binding_of_caller is required for the REPL and local/instance variable inspection. 1.8.x is not supported.

Re: Better Rails errors

#9
What safeguards do you have in place to stop the unweary from sticking this into production?

While normally I'm a massive advocate of "Just not being retarded", I suspect a lot of people are going to drop shells as a result of this gem :(

Re: Better Rails errors

#10
You guys would be amazed if you tried frameworks like Symfony (instead of discarding PHP for not being beautiful or whatever). It has always had these features, and in Symfony2 it only got more awesome. You even have a complete analysis for each request, that you can open with one click:

https://s3.amazonaws.com/i.imm.io/OvjX.jpeg

https://s3.amazonaws.com/i.imm.io/Ovk9.jpeg

Edit: Being downvoted. Some people just don't like knowing the truth.

Post reply on HN