Better Rails errors
github.com
Better Rails errors
1–10 of 50 posts
Re: Better Rails errors
#2This 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
#3As a Rails n00b, I can't wait to try this.
Re: Better Rails errors
#4An inline REPL? I love you more than I have words, particularly if you can somehow snag context for it.
Re: Better Rails errors
#5An inline REPL? I love you more than I have words, particularly if you can somehow snag context for it.
That's why he's using binding_of_caller crap
Re: Better Rails errors
#6An inline REPL? I love you more than I have words, particularly if you can somehow snag context for it.
The REPL will execute code in the context of the currently selected stack frame.
Re: Better Rails errors
#7Seems 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
#8Seems 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
#9What 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
#10You 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.