Added today: 0 jobs

Articles of interest for Ruby on Rails

Displaying articles 201 - 225 of 5374 in total
  • Card image cap
    Drifting Ruby

    Creating a Rack Middleware

    Rack provides a minimal, modular, and adaptable interface for developing web applications in Ruby. In this episode, we create and insert our own Rack Middleware into a Rails 6 application.

    Published:

  • Card image cap
    Drifting Ruby

    Plugging in AnyCable

    ActionCable can handle quite a bit of traffic, but it gets to a point where it can become a burden on the server. With AnyCable, we can not only handle more traffic, but it is also lighter on the resources.

    Published:

  • Card image cap
    Go Rails

    Testing External APIs with VCR

    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.

    Published:

  • Card image cap
    Drifting Ruby

    Website Accessibility

    In this episode, we add Bootstrap into a Rails 6 application and look at various aspects of website accessibility.

    Published:

  • Card image cap
    Go Rails

    Testing API Integrations with WebMock

    Published:

  • Card image cap
    Drifting Ruby

    Progressive Web Applications

    Progressive Web Applications (PWA) are web applications that are regular web pages or websites, but can appear to the user like traditional applications or native mobile applications. In this episode, we add this functionality to a Rails 6 application.

    Published:

  • Card image cap
    Go Rails

    GitHub Actions with Ruby on Rails: Setting up Continuous Integration

    Learn how to set up GitHub Actions to run Continuous Integration (CI) with Ruby on Rails

    Published:

  • Card image cap
    Drifting Ruby

    Polling with StimulusJS

    Sometimes an old techniques with a modern twist can not only solve the problems at hand, but can also simplify the application's architecture.

    Published:

  • Card image cap
    Go Rails

    How to write System Tests in Rails

    System tests allow you to use a browser for testing your Rails app including Javascript

    Published:

  • Card image cap
    Drifting Ruby

    Ruby on Rails Tips and Tricks

    Ruby and Ruby on Rails tricks from, dot files, operators, bundling, StimulusJS and more.

    Published:

  • Card image cap
    Go Rails

    How to write Controller & Integration Tests in Rails

    Learn how to write integration tests in Rails to test controllers and actions

    Published:

  • Card image cap
    Drifting Ruby

    Reactive Applications with Stimulus Reflex

    Create Reactive and Single Page Application like with no javascript or with Stimulus Controllers.

    Published:

  • Card image cap
    Go Rails

    How to use Devise Test Helpers

    Adding Devise test helpers allows you to quickly login a user for testing controllers in Rails

    Published:

  • Card image cap
    Drifting Ruby

    Creating Health Checks

    Health Checks are an important part of monitoring an application's health. However, a simple status response may not be sufficient. In this episode, we look at creating a health check which monitors some dependencies of a Rails application.

    Published:

  • Card image cap
    Go Rails

    How to use Fixtures to create sample test data

    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.

    Published:

  • Card image cap
    Drifting Ruby

    Client Side Validation with StimulusJS

    Give clients quick feedback on form validation errors with ValidateJS and StimulusJS.

    Published:

  • Card image cap
    Go Rails

    Test Driven Development Basics

    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.

    Published:

  • Card image cap
    Drifting Ruby

    Creating and Publishing a Stimulus Controller Library

    In this episode, we create a public StimulusJS Controller and publish it to NPM to that it can be shared and reused in other applications.

    Published:

  • Card image cap
    Go Rails

    How to Test Validations in Rails

    Learn how to write tests for validations on ActiveRecord objects in Ruby on Rails

    Published:

  • Card image cap
    Drifting Ruby

    Push Notifications with ActionCable

    In this episode, we look into using Push Notifications within our Rails application and then using ActionCable to broadcast Push Notifications to the user.

    Published:

  • Card image cap
    Go Rails

    How to use Multiple Databases in Rails 6.0

    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.

    Published:

  • Card image cap
    Drifting Ruby

    3D Secure 2 Credit Cards and Stripe Checkout

    Banks which require further authentication on transactions may decline charges if Strong Customer Authentication is not being performed on 3D Secure enabled Credit Cards. In this episode, we look at adding Stripe Checkout and webhooks to our Rails application.

    Published:

  • Card image cap
    Go Rails

    Handle Race Conditions with Pessimistic Locking

    Race conditions can cause problems with data integrity. We can prevent these issues with Pessimistic Locking in ActiveRecord which uses database row-level locking.

    Published:

  • Card image cap
    Drifting Ruby

    AWS Security Groups and Deploying Rails 6 to Beanstalk

    Back in Episode #106, we configured and deployed to a very simple AWS Beanstalk environment. However, in this episode, we take things a bit further and explore security groups, an existing database and redis service. Also, there are a few changes that we have to do in order to get Rails 6 working within Beanstalk.

    Published:

  • Card image cap
    Go Rails

    Preventing Conflicts with Optimistic 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.

    Published: