Skip to main content

Rails Concepts Tutorial Series

This series covers some of the often misunderstood Rails basics. Things like params, environment variables, and other topics are glossed over assuming you understand them but we'll dive into them in detail and explain how they work so you can have a much more deep understanding of Ruby on Rails.

Environment Variables
#1 ·

A look at how you can store API keys and other variables in the environment on different computers.

Ruby Version Managers
#2 ·

Techniques for installing Ruby and managing different versions between applications

Rails Application Structure
#3 ·

A look into the files and folders inside every Rails application and how they fit together

The Params Hash
#4 ·

A glimpse into the "magic" behind the params hash and the various ways it gets populated

Sending Data Between Controllers And Views
#5 ·

Using instance variables we can send data between controllers and views and take a look at how that works

Querying Named Scopes Across Models with ActiveRecord::Relation#merge
#6 ·

Use the merge method to prevent duplication of ActiveRecord scopes when you're querying across different models

Understanding Semantic Versioning
#15 ·

Understand how and why the version numbers work for the gems you commonly use

A Look Into Routing
#19 ·

Dive into routing more deeply than just basic resources and writing routes from scratch

Forms With Multiple Submit Buttons
#34 ·

Learn how to create forms with multiple submit buttons

Basic Authentication and RSS Feeds
#60 · Pro

Learn how to add authentication to an RSS feed with Rails and Devise

Pair Programming on Rails Scopes
#71 ·

James from Shakycode and I pair program on some common model scopes related to time and how we would approach them

Rails 5's ActionCable and Websockets Introduction
#75 ·

Learn how Rails 5's new ActionCable and Websocket feature works with Redis in realtime

Rails Counter Caches
#172 ·

Learn how to use counter caches in your Rails app

Atomic Updates And Performance with ActiveRecord Transactions
#171 · Pro

Learn how to use ActiveRecord Transactions to create atomic updates across multiple records and to improve the speed of bulk operations

Debugging: How to Interpret a Stacktrace
#198 ·

Learn how to analyze and understand the Ruby stacktrace when something goes wrong in your app

Rails Application Templates
#235 ·

Learn how to build Rails app templates to save time building new applications and check out Jumpstart, the template used to build new Rails apps for GoRails episodes