How to build a complete, real-world application from scratch with Ruby on Rails step by step.
A lot of Ruby code is "magic". We'll explain the magic and see how it works using the powerful tools Ruby gives us.
Accept subscription and one-time payments with Stripe in your Rails apps
Expert advice on keeping Rails apps organized and fast.
Cheap, easy hosting for Ruby and Rails apps.
Launch your product business way faster with our SaaS template.
A weekly podcast on web development and building products with Ruby, Rails, Javascript, and more.
Build a Ruby on Rails app in 48 hours with us.
Help Junior developers get hired by sharing small projects to build their resume with paid work.
Find your next Ruby on Rails Job.
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.
Rails provides several helper methods for testing times and dates in your applications. You can now freeze time and time travel like in the movies!
Learn how to test Active Job in your Ruby on Rails application
Testing integrations with external APIs in your Rails app can be hard. You don't know what requests are being made (or even the responses), so how can you properly mock them out? VCR to the rescue.
WebMock is a fantastic way to stub out and mock your HTTP requests. It will actually throw an exception in your test suite when an HTTP request is made so that you know when you're hitting an external API that you haven't stubbed out correctly.
Learn how to set up GitHub Actions to run Continuous Integration (CI) with Ruby on Rails
System tests allow you to use a browser for testing your Rails app including Javascript
Learn how to write integration tests in Rails to test controllers and actions
Adding Devise test helpers allows you to quickly login a user for testing controllers in Rails
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
In this episode, we add tests for our Basecamp 3 style urls that we built using a Rack middleware
A/B testing (or split testing) is a really common way of testing changes in your app to determine which works best for your users.
How do we go about writing robust tests with rspec for simple_calendar?
Here's how to setup Rspec for an open source project
Join 82,464+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our Privacy Policy.