Added today: 0 jobs

Articles of interest for Ruby on Rails

Displaying articles 176 - 200 of 5374 in total
  • Card image cap
    Drifting Ruby

    API Structure and Error Handling

    We look at consistency in a Rails API structure and handling errors.

    Published:

  • Card image cap
    Go Rails

    Tracking online users with timestamps

    We can use timestamps in our database to track of online users in your Rails

    Published:

  • Card image cap
    Drifting Ruby

    Emojis from Scratch

    In this episode, we look at attaching emojis to our comments model, allowing them to fill in some emotional cues.

    Published:

  • Card image cap
    Go Rails

    How to use Uppy with ActiveStorage

    Learn how to implement Uppy as a frontend for uploading files via drag and drop, paste, URL, Google Drive, Dropbox, webcam and more to Active Storage in Rails

    Published:

  • Card image cap
    Drifting Ruby

    In Depth with Docker Compose

    A deep dive into using Docker to streamline your Ruby on Rails 6 development environment.

    Published:

  • Card image cap
    Go Rails

    How to use AWS Cloud9 for Ruby on Rails development

    Ever wanted an editor and Rails environment you can use anywhere? Cloud9 is the perfect option for this and can run on an EC2 instance in your AWS account.

    Published:

  • Card image cap
    Drifting Ruby

    From Devise to Auth0

    Continuing from the previous episode, we look at the transition process from Devise to Auth0.

    Published:

  • Card image cap
    Go Rails

    How to use Mocks in Ruby tests

    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.

    Published:

  • Card image cap
    Drifting Ruby

    OmniAuth Authentication with Auth0

    In this episode, we look at setting up a fresh application with Auth0 and mimic a lot of the commonly used Devise methods to make a transition from Devise to only Auth0 easier.

    Published:

  • Card image cap
    Go Rails

    How to use Dependency Injection in Ruby

    Dependency Injection is a common technique for making your code more flexible and testable by removing strict dependencies upon other classes, modules, and other types of dependencies in your code

    Published:

  • Card image cap
    Drifting Ruby

    Like Relationships and Global ID

    In this episode we create a Like/Unlike system where users can like posts and use Global ID to obfuscate IDs.

    Published:

  • Card image cap
    Go Rails

    How to use Test Stubs with Minitest

    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.

    Published:

  • Card image cap
    Drifting Ruby

    Setting Up and Testing OmniAuth

    In this episode, we look at creating a Ruby on Rails application with OmniAuth as the authentication solution and write tests to ensure that it works properly.

    Published:

  • Card image cap
    Go Rails

    Fixing Brittle Tests: Avoid Hardcoded Values

    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.

    Published:

  • Card image cap
    Drifting Ruby

    Minitest and Test Driven Development

    We continue from Episode 220 and add additional features and write tests for existing code. We look at introduced bugs and how test driven development can help to not only fix the bugs, but strengthen our test suite.

    Published:

  • Card image cap
    Go Rails

    Refactoring Rubocop GitHub Action

    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.

    Published:

  • Card image cap
    Drifting Ruby

    Associations and Mathematical Business Logic

    In this episode, we build our associations and organize our mathematical business logic.

    Published:

  • Card image cap
    Go Rails

    Testing Rails ActionCable with Devise

    Testing ActionCable authentication with Devise is pretty easy, especially when we build our own helpers to stub out Warden

    Published:

  • Card image cap
    Drifting Ruby

    Reputation Behavior with Merit

    Merit adds reputation behavior to Rails apps in the form of Badges, Points, and Rankings.

    Published:

  • Card image cap
    Go Rails

    How to test ActionMailer in Rails

    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.

    Published:

  • Card image cap
    Drifting Ruby

    From jQuery to ES6

    jQuery has been a great tool for many years, but we've seen a transition in the past years where applications have dropped jQuery and moved to vanilla javascript. In this episode, we look at some common jQuery examples and the ES6 equivalencies.

    Published:

  • Card image cap
    Drifting Ruby

    Working with Time Zones

    Time Zones in Rails can sometimes cause confusion and erratic behavior. In this episode, we look at working with Time Zones in Rails.

    Published:

  • Card image cap
    Go Rails

    Testing Times & Dates with Rails

    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!

    Published:

  • Card image cap
    Drifting Ruby

    Using Bootstrap Themes

    Bootstrap Themes can be difficult to incorporate into a Ruby on Rails applications. In this episode, we look adding Bootstrap and a Bootstrap theme into our Rails 6 application.

    Published:

  • Card image cap
    Go Rails

    How to Test Background Jobs with Active Job

    Learn how to test Active Job in your Ruby on Rails application

    Published: