Hi! I'm Genadi and I come from Bulgaria in South-Eastern Europe. I am a Rails contributor and the maintainer of the web-console gem. Besides my codes, I also organize Balkan Ruby, a regional Ruby conference for the Balkan region and the Sofia Ruby meetup called Ruby Banitsa!View the profile
About the talk
RailsConf 2019 - Resolve Errors Straight from the Error Pages by Genadi Samokovarov
Raised exceptions in Rails 6 can hint the error pages to display a button that can invoke a resolving action. We call them actionable errors!
In this talk, we'll take a deep dive into what actionable errors are, and how they are dispatched through the Rails application errors handling mechanism.
We'll also write a small Rails plugin and use actionable errors to guide our users with better errors, and actions to resolve them. We'll learn how to define custom actionable errors and strategies around when and how to raise them to help our users to set up the plugin from the comfort of the error pages.
Thanks so much for coming to my dog. I'm really excited to pick up online very different alarm. We can find me online on Twitter with the bookkeeping software for accountants in potato little next country next year in Southeastern Europe. We can do 50 Cent. It's like to be in America because when we were growing up, we can fix very famous hotel code that I was born and keep trouble to the states in wrote the book called Kevin back then and even now I want to listen to some Eastern European competition or something, but you
know what? I mean. You want think it's good. So I'm going back to think so when a person back then Costa Rican Sofia capital city it's a beautiful place. It's very beautiful place. If you really want to visit this world 2 weeks and we try to bring speakers to a region in an atom that our people from Japan from all over the world. so I'm going to be talking to you about the oven Caro straight from the air pages and explain why you want to do that. I want to look into the
so. When they announced it will bring everything but the biggest one of the biggest features was the new framework and let's look into what storage in Spanish. Okay. I can start uses two tables after creating. Can you repeat a section or upgrading your application? And then the bottom interparticle jeans, but this is the first time she comes into the coronavirus and now we have to do something. Okay. I waking up just a couple books bringing what's new features, but I want to
come see what you think and work with. do require song set up as well requires you to start first then and then XNXX it's more of the same thing. I need to do a transaction takes to bring them to bring him some packages and what month so new framers to require intervention before you can use them. so when we forget those dim time, let's see how it goes. Which I want to be able to attach an image. So you can go into. Is application for me. fix this this did not go to go.
We will kill them all. I brought back the ticket for the last moment. So what you sell me the pen equation with a couple? So it's a virus baby straight from the pages. I think around the community for a while or three years ago where he put the bottom of the penetrations. So we wanted to make it a bit more generic and Police auction with yogi which was our students from student from Singapore and implemented it again. 2018 in 256 That's what I like about it. Is that includes this Mojo?
Give me the ability to Define action video. So we need to give you the name. This will be the name of our bottom of the page. And this will be the action that will be dispatched when we click this button on the airplane. So we can have multiple. What multiple actions by the same era and it's just like any other regular error? This is just a small part of the organic. Mechanism is IOS. It's a new thing that they coming to fix but I didn't want to talk about
how the whole entertainment system works and unpacking soundtrack. So. Listen, Paca. Send it until the attic and then we have to understand the connection application. What is a complication application is like a brother to quit and give it to us and American Publications expected to return this tablet and this is the body knows how to be with an HTTP response to send a telegram something up responsible to make sure we don't get to kiss we need to get something to eat and gives us a pair of drinks and
we don't need to have a drink strictly. We need to get something to the sponsor page and give the news. It's also the foundation of our portable HD Midwest interview questions and answers. No, I don't know how the hell does that looks like so. Acme do something for stop request so it can say you know, what just did it get there quick somebody else. I can do my business you can you can believe I can say, you know what I can handle this this request. I won't give it to me
and I'll just do it myself. This will work in this is the foundation for our application of the throne before any notifications. Omaha Steaks. Well building the request vacation and they think about that. I'll say that again when you're building this phone so we can do we can do something before we do the request and we can do some stuff after or while we're building the response which is important for the error page in them. So this is the time in Rio 6 week if
I can see what we can catch you again some crocodiles attack at xr600 Midwest Eye Care, which is where the link actually We can see you and me the mistake by calling 911. Don't take this let's take a look at it. We'll start with X and dispatch. mixing specifications and representatives dispatch right here Game with the name of that. Message with your next trip for a taxi came from actually coming from and you showing you only the part of the application coming from but if you're curious,
okay, what was up here if you can. Take photos of here. How does this thing work? Okay. Battery for an exception occurred during this meal was taken vacation. This means that I don't care if any of them either after the book exception. We have got to show you this because this information you may want to see this. Direct me. Where is the show exceptions Miller? Actions best drugstore exception is showing us that lady song. Something typical an exception application
information about that. Are you just want to say try again? Leasing options in what it does is the current status that you're going to rain there and try to rent at least having the public directory. That's how Okay, it works in a very small way to the Bookshelf. pill identification Soviet anthem and you can customize it you can give it a complication to make a denominator page you want or you can just do this one. the content of the big fat don't forget another
application or what happens if What's the chances here to at least give us so we don't give you or give you a blanket phone in case anything else goes wrong so are pages and pulling back to at least do something. So the next step of the liquid goes into the Midland song bendy song bendy song the navigation. So the customer doesn't come using this but it's them and the council is you think I care which lets you. know the book the current ERA Oh, I can keep them in another feature of the book exception Seas. Picking kit on any part of the exception Victory
song and it sounds like a supreme or Jericho. predicted weather for tomorrow pages the first thing that you would come for me to wear their checks weather in connection able to get the codes in a Weird Al Yankovic. Which is make sure Camilla Rosso dispatches responses This is the confidence here. Give me the application. You can't even give me a response. This is Bunco given to me by I'm going and this is the small Integrity of the console and its inner workings. But this time we we don't fart
around flexible response being built. and after this person being viewed we're taking to control back again. This is what places in things with injects custom it snowing to recover. So if somebody requested What goes with the current state the current threat state in different positions actually cause when you're surrounded, but that's how we do it. And some I want to talk about the position they are important and why is it? How to get the exception phone call and you want to be before the book exception exception
monkey parts to the book Egyptian famous Alice training speaker from Amazon. Tell me tickets be put into the store and do some initial on it. The biggest problem that is not specifically to it, So it's a problem for any exception will do the same thing. They were coming from him, which is now so watching and we actually have a new idea which each section editor and interceptor. And thanks. You can do better. I think that's the first thing that you do after getting exception. We just take over the
interceptors. We make sure that the phone is stupid. I want to talk. But we still talking about the air pages is not enough application in framework created when there is reason it's not missing reason in Europe vacation call. Whoever you most likely care to know where the exception of purification showing you only what vehicle application exception that lives in your application. For example you producing the active? What is inside the framework? Disney movie Resort
Okay this food place here in the cold. Made it to great. Let's let's talk about excavators. But this is my next alarm. So what's up fixing Cosmic Pro with which you can Define the name of the official and this will be the code to that this button Loops patch. Kim self is rented by the book. I fear rejection context in transit plates in the action sports images saying okay because he has any actions and everything for them. another another question and if it is
between request And you also addicted to this location. Disability quotes I can imagine to Port City. But wake up wake up. We are very very very close to the end. And we can be free and go to the Minneapolis train. So we so, how old is Jose Fernandez how it works? But how can you use it in our putting why is it important to you feeling it take medication stick meaning? Go visit right here which checks whether we have penetration. This plug-in is accepted interactive.
So while you were sleeping cute poem. Is that the only for development this option right here is at the pond in development. Who did approaches very generic generic but requires too much work? We're working on finding common case or optimizing for Tacoma cases. B-52 in progress pics of notebooks storage anthem you fit into distinct new me to wear to check for our condition. Like when when do we need to raise it in the can you can you make it somehow disappear?
If you try to use the model from XML books with you can get them the in existence of texting you inbox. inbound smokers Richmond weather interesting open you can give us feedback about how it looks or how it should work. and zip 103 little from The Talk you talk about a picture of their pages with it's all about development experience. I think there are many places in which you can improve it is just one of them. this what you cannot be used for dust collector, which is the longest running finish it if we can help for the
Buy this talk
Access to all the recordings of the event
Buy this video
With ConferenceCast.tv, you get access to our library of the world's best conference talks.