View screencasts by curated topics.
Dive into the archive of all episodes.
Testing ActionCable authent...
Setup your development environment.
Configure your production server.
Learn how to modify production to run websockets.
You can use Fixtures in Rails to create sample database records for your tests to run against. They're easy to setup and extremely quick.
Test Driven Development, or TDD, is a pretty simple process that allows you to write your code in conjunction with tests to ensure a high level of confidence and code coverage.
Learn how to write tests for validations on ActiveRecord objects in Ruby on Rails
With Rails 6.0, you can now define multiple primary and replica databases, define separate migrations for each primary database, and configure each model to read and write from different databases.
Race conditions can cause problems with data integrity. We can prevent these issues with Pessimistic Locking in ActiveRecord which uses database row-level locking.
When things (users, jobs, etc) attempt to update the same record at the same time, we can often lose changes. Optimistic locking uses a lock version number to warn you about updating stale objects so you can handle that safely.
Learn how to add support for Accelerated Mobile Pages (AMP) from Google to Ruby on Rails in this tutorial
Learn how to remove conditionals and make your code simpler and more reliable using Ruby and ActiveSupport's Array wrap methods
Reply to inbound SMS and phone calls using TwiML to create XML responses to Twilio conversations
Receiving inbound SMS in Rails with Twilio is very similar to handling inbound emails with Action Mailbox
Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.