Learn your way! Get started

Ruby, Part 6 of 6: Error Handling, Frameworks, and Algorithms

with expert Jordan Hudgens

Watch trailer

Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 7/15/2016
Level Beginner
Runtime 1h 43m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included

Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More

Course description

Ruby expert Jordan Hudgens covers error handling, web frameworks, and algorithms in Ruby in this course. He will begin with a walk through the syntax for basic error handing, emphasizing best practices, followed by a review of the two most popular web frameworks for Ruby: Sinatra and Rails. Hudgens will show how to build two web applications, with the Rails app being a functional blog that includes full CRUD features, and then walk through implementing popular algorithms in Ruby and building the insertion sort and quicksort algorithms. Finally, he will discuss creating a binary search program.


You should be familiar with basic text editing in a Windows or Linux environment. No prior knowledge of programming is assumed. This course builds on the previous ruby courses: Ruby: Introduction and Classes, Ruby: Variables and Data Structures, Ruby: Input/Output and Gems.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
Ruby Development

Meet the expert

Jordan Hudgens has certifications for Ruby on Rails, Thinkful; Ruby on Rails, Bloc.io; Front End Development, Thinkful; and AngularJS, Thinkful. He is currently vice president of engineering for TRACKR in Midland, Texas and is working on his PhD in Computer Science from Texas Tech. In addition to Ruby, Jordan works with PHP, JavaScript, MySQL, Postgres, CSS3, C, C++, C#, Objective-C, and Python. He also works with the frameworks Rails (Ruby), Zend (PHP), and Django (Python), plus the libraries AngularJS, jQuery, and Backbone.js.

Course outline

Frameworks and Algorithms

Error Handling & Syntax (08:10)
  • Introduction (00:26)
  • What Is Error Handling? (02:00)
  • Begin/Rescue (02:51)
  • Demo: Error Handling (02:37)
  • Summary (00:14)
Antipatterns (08:35)
  • Introduction (00:20)
  • Antipatterns (03:02)
  • Demo: Antipatterns (04:57)
  • Summary (00:15)
Error Logger (08:22)
  • Introduction (00:16)
  • Error Logger (01:54)
  • Demo: Error Logger (05:55)
  • Summary (00:15)
Sinatra (15:24)
  • Introduction (00:19)
  • Sinatra (07:19)
  • Demo: Sinatra (04:25)
  • Demo: Parameters (03:05)
  • Summary (00:15)
Rails (20:32)
  • Introduction (00:19)
  • Ruby on Rails (07:52)
  • Demo: Getting Started (05:36)
  • Demo: Migration (02:09)
  • Demo: Preview Blog (04:26)
  • Summary (00:07)
Insertion Sort (20:52)
  • Introduction (00:19)
  • Why Learn Algorithms? (04:15)
  • Algorithm Development (01:56)
  • Demo: Insertion Sort (03:38)
  • Demo: While Loop (06:00)
  • Demo: Test Insertion Sort (04:26)
  • Summary (00:16)
Quicksort (10:16)
  • Introduction (00:18)
  • Sorting Algorithms - Quicksort (02:56)
  • Demo: Quicksort (04:10)
  • Demo: Test Quicksort (02:30)
  • Summary (00:20)
Binary Search (11:05)
  • Introduction (00:18)
  • Binary Search (02:59)
  • Demo: Binary Search (04:12)
  • Demo: Test Binary Search (03:16)
  • Summary (00:17)