Added today: 0 jobs

Articles of interest for Ruby on Rails

Displaying articles 326 - 350 of 5374 in total
  • Card image cap
    Drifting Ruby

    Deeper Dive into StimulusJS

    In this episode, we look at combining Rails UJS, nested routes, scopes and StimulusJS. A deep dive from the beginning to completion of multiple select boxes changing based on their selections.

    Published:

  • Card image cap
    Go Rails

    Nested Comment Threads in Rails - Part 2

    Implementing polymorphic, reusable comments across models and limiting the nesting allowed for nested comment threads

    Published:

  • Card image cap
    Drifting Ruby

    Safely Running Shell Commands

    We may come across a need to run shell commands and Ruby has some built in methods which appear safe, but can introduce major security risks.

    Published:

  • Card image cap
    Go Rails

    Nested Comment Threads in Rails - Part 1

    How to build nested comments and threads in Ruby on Rails

    Published:

  • Card image cap
    Drifting Ruby

    Database, Model and Scopes

    In this episode, we take a look at some tips and tricks around the database schema and model scopes.

    Published:

  • Card image cap
    Go Rails

    How to Add Pagination with Pagy

    Pagy is 29x faster at pagination in their benchmarks which makes it an ultra fast and lightweight pagination library

    Published:

  • Card image cap
    Drifting Ruby

    Rails Presenters

    Separating view logic from bloated models can help maintain the model in the long run.

    Published:

  • Card image cap
    Go Rails

    Auto-detect User Time Zones in Rails

    Use the jstz Javascript timezone library to help auto-detect and set the user's time zone in your Rails apps

    Published:

  • Card image cap
    Drifting Ruby

    ActiveRecord Callbacks

    Callbacks are great for quickly tapping into the object life cycle. However, after a model or an application grows, it will become harder to maintain over time. It is better to extract the responsibility and separate the logic.

    Published:

  • Card image cap
    Go Rails

    Stripe Signed Webhooks

    Stripe webhooks are now required to be signed with your secret webhook key. We'll show you how to set them up in your Rails app today.

    Published:

  • Card image cap
    Drifting Ruby

    State Machines with AASM

    State Machines are useful for tracking the state of an object. With AASM, we take a dive into how states can transition as well as modifying states and interacting with them.

    Published:

  • Card image cap
    Go Rails

    User Referral Program From Scratch

    How to build a custom Rails referral or affiliate program from scratch

    Published:

  • Card image cap
    Drifting Ruby

    Rails API Documentation

    In this episode, we look at creating an interactive documentation for a Rails API.

    Published:

  • Card image cap
    Go Rails

    Affiliate & Referrals Programs with Stripe & Rewardful

    Easily add an affiliate or referral program to your Rails application using Stripe and Rewardful

    Published:

  • Card image cap
    Drifting Ruby

    Improving Partial Loading Performance

    N+1 queries can make an application slow. Having queries called within views can also slow down an app as well as making it less extendable.

    Published:

  • Card image cap
    Go Rails

    Batching Backgrounds Jobs with Sidekiq

    Sidekiq Pro or sidekiq-batch lets you run a set of background jobs in parallel and then a callback once they're finished. This is perfect for building more advanced workflows for your background jobs in Rails.

    Published:

  • Card image cap
    Drifting Ruby

    Creating PDF files with WickedPDF

    Easily create PDF files within your Rails Application with Wicked PDF.

    Published:

  • Card image cap
    Go Rails

    Sending Webhooks with Exponential Backoff

    Sending Webhooks in Rails is easy, but what happens when the request fails? You'll need to implement retries and exponential backoff so you don't DoS their service

    Published:

  • Card image cap
    Drifting Ruby

    iOS Authentication with a Rails API

    In this episode, we look at creating an iOS Application which will communicate with the Rails API application from the previous episode.

    Published:

  • Card image cap
    Go Rails

    React Native with Rails OAuth API Authentication Part 3

    Learn how to build a React Native application to connect to your Rails API using OAuth for authentication

    Published:

  • Card image cap
    Drifting Ruby

    Rails API Versioning

    Using the URI or Accept Headers, we can version our API to prevent breaking changes to our end users. In this episode, we look at versioning our RESTful API.

    Published:

  • Card image cap
    Go Rails

    React Native with Rails OAuth API Authentication Part 2

    Learn how to build a React Native application to connect to your Rails API using OAuth for authentication

    Published:

  • Card image cap
    Drifting Ruby

    Observer Patterns

    The Observer pattern (also known as publish/subscribe) provides a simple mechanism for one object to inform a set of interested third-party objects when its state changes.

    Published:

  • Card image cap
    Go Rails

    React Native with Rails OAuth API Authentication Part 1

    Learn how to build a React Native application to connect to your Rails API using OAuth for authentication

    Published:

  • Card image cap
    Drifting Ruby

    Editors

    One question that I get asked most often is what editor, theme and extensions am I using for my editor. In this episode, we take a look at the different extensions and settings that I use.

    Published: