View screencasts by curated topics.
Dive into the archive of all episodes.
Mocks are a handy tool for ...
Setup your development environment.
Configure your production server.
Learn how to modify production to run websockets.
Planning our future work on simple_calendar and what we're going to accomplish
Test stubs are very handy when you want to mock out the response to a method call. This allows your tests to be more reliable and skip long running or unnecessary method calls.
Testing ActionCable authentication with Devise is pretty easy, especially when we build our own helpers to stub out Warden
Test suites often become brittle over time where small changes end up breaking various tests. One way to avoid that is by avoiding using hardcoded values in your test suite.
Mocks are a handy tool for writing tests in Ruby. You can use them to fake an object and verify that the correct methods were called against it. Perfect for testing a method that integrates closely with another class or module.
Build a reactive multi-user spreadsheet web app with ActionCable and RethinkDB
Rails provides several really useful test helpers for ActionMailer so we can quickly iterate on our design, test that our code queues up the right emails, and make sure our emails contain the right content.
Refactoring events in simple_calendar and uploading version 2.0
We take the Leaderboard gem and wire it up with custom code to work seamlessly with will_paginate
Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.