Debugging Ruby on Rails
Web-Crunch
Hi, My name is Andy Leverenz and I work as a Product Designer at Dribbble. For fun, I design, code, and write. Check out my blog called Web-Crunch https://web-crunch.com where I publish design and development tutorials with the occasional vlog.
====================
π Ruby on Rails gives us so much out of the box but there are times errors occur or we need to re-invent the wheel for a specific feature of some type. This video/article is my own take on debugging ruby on rails.
If you've developed with Ruby on Rails before you probably already know it is a command line driven environment where you use "generators" to create an element within your app. Everything from the creating database tables to scaffolding action views is supported. For a quick intro about the Rails CLI check out another article I wrote called Understanding the Ruby on Rails CLI - https://web-crunch.com/understanding-the-ruby-on-rails-cli/.
There is no perfect way to debug. Being so convention-based, Rails doesn't have a "defined" way you should debug your code. This is a good thing I think because many developers approach errors differently. I'm a very visual person so I often reach for the debug
helper and my logs to find out what went wrong (or right) when developing an app. Use this stuff to your advantage! The more you do the more quickly you will be able to resolve future issues that may seem familiar.
====================
π° Subscribe: https://www.youtube.com/user/webcrunchblog?sub_confirmation=1
π» Previously published at: https://web-crunch.com/debugging-ruby-on-rails
π» Check out the blog: https://web-crunch.com
π¦ Check out my personal site: https://justalever.com
π Links: Weekly Newsletter: https://web-crunch.com/subscribe Twitter: https://twitter.com/webcrunchblog Twitter(Personal Account): https://twitter.com/justalever Facebook: https://facebook.com/webcrunchblog Dribbble: https://dribbble.com/justalever Github: https://github.com/justalever Medium: https://medium.com/the-web-crunch-publication
πCheck out my book on UX Design: "LUXD: Learn User Experience Design" https://web-crunch.com/books/luxd
π Check out my FREE book on Tumblr Theming: "Pro Tumblr Theming" https://web-crunch.com/books/ptt
π― Need awesome web hosting? Check out cloudways. They allow me to use a variety of hosting providers and build apps with ease: http://bit.ly/webcrunchhosting
π Need more advanced hosting for Rails, PHP, Node, or other projects? Digital Ocean has you covered. https://m.do.co/c/ee243ee15648
π Ruby on Rails devs, Try HatchBox.io. You'll save upwards of 50% compared to Heroku. I use it and love it! https://hatchbox.io/?via=andy
βοΈ ππ» Patreon https://www.patreon.com/webcrunch
βοΈ Or buy me a coffee https://www.buymeacoffee.com/webcrunch ... https://www.youtube.com/watch?v=JnQ72lZeQyI
95681914 Bytes