Added today: 0 jobs

Articles of interest for Ruby on Rails

Displaying articles 301 - 325 of 5374 in total
  • CSS-Tricks

    Regarding CSS’s Global Scope

    With the exception of some form elements, you’ve just set a font on every bit of text on a site! Nice! That’s probably what you were trying to do, because of the probably hundreds of elements all over your site, setting that font-family every time would be tedious and error-prone.CSS is global by nature. On purpose!I like how David Khourshid put it:You ever stop and think about why CSS has a

    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
    Go Rails

    Cross-origin Resource Sharing (CORS) with Rails

    Cross-origin Resource Sharing (CORS) allows your website to talk to other websites.

    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
    Go Rails

    Using Vuex with Forms in Rails

    Embeddable Javascript Widgets often contain forms. We're using Vuex to build our comment form widget and we're going to use vue-map-fields to make this easier.

    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
    Go Rails

    Using Vuex with a Rails Backend

    The next step in our embeddable javascript widget series is setting up our Vue frontend to talk with our Rails backend using Vuex

    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
    Go Rails

    User Avatars with ActiveStorage

    Adding user avatars is pretty easy using Rails' ActiveStorage feature. We'll be using Devise in this example, but this applies to any user authentication system.

    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
    Go Rails

    Embeddable Javascript Comments Widget Models - Part 1

    Starting our Embeddable JS Widget series outlining the comment and discussion models and the basic webpacker setup

    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
    Go Rails

    Link To Current Page With Params

    Learn how to link to the current page and add, remove, or modify params in the URL. This is handy for things like search or index pages with filters.

    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
    Go Rails

    Search Filters with ElasticSearch Aggregations

    Learn how to add sidebar search filters like Amazon.com using ElasticSearch's aggregations in Searchkick

    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
    Go Rails

    How to Build a Slack Slash Command App with Rails

    Learn how to implement a Slack Slash Command App in Rails using webhooks

    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
    Go Rails

    Handling First & Last Name with the name_of_person gem

    Deciding whether or not to have separate first and last name fields gets a bit confusing. Basecamp's recently released name_of_person gem shows you exactly how to handle this reliably and also stands as a fantastic example of how to build a concern

    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
    Go Rails

    Reddit style comment thread pagination

    Adding pagination to our nested comment threads is easier than you might think, plus we'll take a look at a couple different approaches we can use

    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
    Go Rails

    Deleting Comments In Nested Threads

    Nested comment threads pose a lot of unique challenges. One of these is deleting comments because you can easily lose the child comments or context. We'll take a look at a couple great ways of handling this.

    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
    Go Rails

    Nested Comment Threads in Rails - Part 3

    Using AJAX, we can submit our comments and have them render onto the page without a page refresh.

    Published: