This kata will teach you how to refactor a method with lot nested if-else statements. It will help you keep your controllers code elegant by minimizing the nested if-else statements in your Rails projects. This is based on one of the chapters in the TDD in Ruby book published by Apress.
Stripe Elements is a pre-built UI component provided by Stripe to securely collect sensitive credit card details. The stripe gem version used in this screencast is 2.0.1. We will use Rails 5 and Ruby 2.3.3 to process payments.
Learn the basics of counter cache in Rails 5. If you are interested in contributing to Rails, I give you a tip for making an improvement to make the Rails 5 code robust with meaningful error message. I show the problem and a possible fix.
This episode will show you how to integrate will_paginate gem to add pagination feature to a Rails 5 app. You will also learn how to change the look and feel of the pagination such as Flickr, Digg and Apple style pagination.
Learn how custom view helpers work in Rails 5. You will also learn how to read the Rails source code to create experiments that answers questions about how Rails works. We will use ack tool to search for exact matches in Rails source very fast.
4 min
About Rails Screencasts
From the publisher's feed
Learn practical tips and techniques on how to develop web applications using Ruby on Rails web framework. The episodes are short to minimize the amount of content to avoid overwhelming learners. The…
episodes are designed to give developers a quick way to get their feet wet and learn by building web apps.