Added today: 0 jobs

Articles of interest for Ruby on Rails

Displaying articles 101 - 125 of 266 in total
  • Card image cap
    Drifting Ruby

    Creating a Ruby Domain Specific Language (DSL)

    In this episode, we look at creating a DSL for HTML tables. Though a simple example, it opens a lot of possibilities for consistency and expandable in what can be done with a DSL.

    Published:

  • Card image cap
    Drifting Ruby

    Incoming Emails with Action Mailbox

    Handling and routing incoming emails into your application can be a daunting task. In this episode, we take an early look into the upcoming Action Mailbox in Rails 6.0 which greatly simplifies the process.

    Published:

  • Card image cap
    Drifting Ruby

    Policy Manager with GDPR Rails

    Using the gdpr_rails gem, we look at adding a policy manager to require users to accept age, terms, and privacy policies before signing up for an account.

    Published:

  • Card image cap
    Drifting Ruby

    Templating Ruby on Rails Applications

    There is a lot of work that is done on new applications and a lot of the common code between new applications. In this episode, we look at using templates to speed up the initial process.

    Published:

  • Card image cap
    Drifting Ruby

    Creating a Simple Slack Bot

    Slack is a great application to keep in contact with friends, coworkers and a community. With bots, its capabilities are endless. In this episode, learn how to create a Slack Bot to interact with.

    Published:

  • Card image cap
    Drifting Ruby

    Refactoring Models

    Sometimes our models get so large that they become unmaintainable. In this episode, we look at how we can slim down the size of the models without losing functionality.

    Published:

  • Card image cap
    Drifting Ruby

    Development Decisions and Architecture

    Decisions made during the development process can significantly affect how the production environment is architected. In this episode, we look at a few different scenarios and how the early decisions made in development affected the production infrastructure.

    Published:

  • Card image cap
    Drifting Ruby

    Activity Feed with Public Activity

    Add an activity feed to your application with Public Activity.

    Published:

  • Card image cap
    Drifting Ruby

    Grab Bag of Ruby and Ruby on Rails Tricks

    In this episode, we look at various tips and tricks.

    Published:

  • Card image cap
    Drifting Ruby

    Nested Comments from Scratch

    Using polymorphic associations, we can have comments assigned to a post as well as comments assigned to other comments.

    Published:

  • Card image cap
    Drifting Ruby

    Friend Requests Views, Controllers, and Model Methods

    Part II - In this episode, we create performant links for adding, accepting/rejecting and removing friends for our social media application.

    Published:

  • Card image cap
    Drifting Ruby

    Friend Requests From Scratch

    Part I - In this episode, we create our authentication for users, default view for authenticated users, friendship model, associations and scopes for our social media application.

    Published:

  • Card image cap
    Drifting Ruby

    Service Objects for API Interactions with Twilio

    In this episode, learn how to extract the interactions with an external API into a service object so that code is isolated and interchangeable.

    Published:

  • Card image cap
    Drifting Ruby

    Bundler and Binstubs

    In this episode, we look at some lesser known bundler commands including binstubs.

    Published:

  • 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
    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
    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
    Drifting Ruby

    Rails Presenters

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

    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
    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
    Drifting Ruby

    Rails API Documentation

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

    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
    Drifting Ruby

    Creating PDF files with WickedPDF

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

    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
    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: