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.
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.
Today we're refactoring Andrew Mason's GitHub Action that runs Rubocop against your repository. We'll pull out some concepts, remove conditionals, and use several other techniques to clean up the code.
Testing ActionCable authentication with Devise is pretty easy, especially when we build our own helpers to stub out Warden
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.
Learn how to set up GitHub Actions to run Continuous Integration (CI) with Ruby on Rails
Join 37,344+ 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.