Skip to main content

All ActiveRecord Episodes

Fallback 10:16
Handling First & Last Name with the name_of_person gem
#267 ·

Deciding whether or not to have separate first and last name fields gets a bit confusing. Basecamp's recently released name_of_person gem shows you exactly how to handle this reliably and also stands as a fantastic example of how to build a concern

Fallback 17:32
Reddit style comment thread pagination
#266 · Pro

Adding pagination to our nested comment threads is easier than you might think, plus we'll take a look at a couple different approaches we can use

Fallback 6:16
Deleting Comments In Nested Threads
#265 · Pro

Nested comment threads pose a lot of unique challenges. One of these is deleting comments because you can easily lose the child comments or context. We'll take a look at a couple great ways of handling this.

Fallback 14:04
Nested Comment Threads in Rails - Part 3
#264 · Pro

Using AJAX, we can submit our comments and have them render onto the page without a page refresh.

Fallback 20:43
Nested Comment Threads in Rails - Part 2
#263 · Pro

Implementing polymorphic, reusable comments across models and limiting the nesting allowed for nested comment threads

Fallback 22:06
Nested Comment Threads in Rails - Part 1
#262 · Pro

How to build nested comments and threads in Ruby on Rails

Fallback 18:07
Charts with Chartkick and Groupdate
#194 ·

Add various types of charts to your Rails app with Chartkick and use Groupdate to make easy group queries in SQL

Fallback 16:16
Preferences & Settings with ActiveRecord::Store
#191 · Pro

Use ActiveRecord::Store and ActiveRecord-TypedStore to save user preferences and settings to a single column in the database

Fallback 10:08
ActiveRecord Explain
#173 ·

Learn how to use ActiveRecord Explain to analyze your SQL queries generated by ActiveRecord

Fallback 15:36
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

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

More of a social being? We're also on Twitter and YouTube.