Save 36% for Black Friday!
Save 36% on GoRails for Black Friday!
Learn more →
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
Building a simplified version of Instagram is a great way to learn Rails.
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.
Translate your Ruby on Rails apps.
Continuous Deployment is the automation of deploying any code that gets merged into your main or release branch. We can easily set up GitHub Actions to run CI and CD for us to automate everything.
ActsAsTenant needed some maintenance so we're going to walk through the steps of refactoring the gem and Rspec test suite
Appraisal lets us test our code against different versions of dependencies. This is fantastic if you're building Rubygems that must work with multiple versions of Rails or other dependencies
Contribute to Rails by discovering something you could improve and learning how to add features to Rails
Add code coverage to your app using SimpleCov and RailsBytes. We'll walk through installing simplecov and creating a RailsByte to automate it for us going forward.
Testing file uploads can be tricky, but Shrine makes both file uploading and testing a lot easier than you might expect.
Learn how to test ActiveStorage file uploads and create fixtures with ActiveStorage attachments
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.
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.
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.
Join 39,376+ developers who get early access to new tutorials, screencasts, articles, and more.
We care about the protection of your data. Read our
Icons by Icons8
© 2020 GoRails, LLC. All rights reserved.