Course description
Join Ruby expert Jordan Hudgens as he takes a look at two advanced topics in Ruby development: Procs and Metaprogramming. In addition to building your own procs and lambdas, the sister class of procs, Hudgens will also review a production Ruby on Rails application using lambdas to create custom database query scopes. Hudgens will walk through a practical understanding of metaprogramming and building out a full Ruby program, as well as cover the define_method process which allows classes to be written more efficiently.
Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.
Prerequisites
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.
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.
Video Runtime
80 Minutes
Time to complete
300 Minutes
Course Outline
Proc (11:27)
Lambda (07:20)
Proc vs. Lambda (06:52)
Lambdas in Rails (06:09)
Metaprogramming (06:28)
Open Class (10:37)
Method Missing (15:41)
Define Method (10:47)
Rails Metaprogramming (04:53)