Rails Setup Script Improvements
Rails ships with a setup script that automates bootstrapping a new application, but did you know that you're free to edit this script? In…
Read MoreRails ships with a setup script that automates bootstrapping a new application, but did you know that you're free to edit this script? In…
Read MoreIf you're like me then you probably take Devise for granted because you're too intimidated to roll your own authentication system. As…
Read MoreDo you need to create real-time features in your Rails app, but either can't use Turbo or don't want to use a front end framework like React…
Read MoreAre certain pages on your Rails app loading slowly? You might want to consider loading those requests in the background. It's easier than…
Read MoreIn this tutorial, I'll show you how to add a link to any Rails Mailer that will allow a user to automatically unsubscribe from that email…
Read MoreBuild an API in Rails with Authentication In this tutorial, we'll build a full-featured API in Rails with authentication. Below is what we…
Read MoreIn this tutorial you'll learn how to search across multiple models in Rails. Below is a demo of what we'll be building. Note how both Post…
Read MoreIn this tutorial, I'll show you how to create a feature flag system in Rails using pundit and a column on the table. Step 1: Initial Setup…
Read MoreLearn how to validate a form in real-time while conditionally preventing it from being submitted. demo Step 1: Initial Set Up Step 2: Add…
Read MoreIn this tutorial, I'll show you how to add an infinitely scrolling blog roll using Rails and Hotwire. Note that this is different than Chris…
Read MoreIn this tutorial I'll show you how to leverage the Microlink API to generate link previews in Ruby on Rails. Demo Step 1: Application Set…
Read MoreIn this tutorial I'm going to show you how to automatically save form data in Rails. Instead of saving a draft to the database, we'll simply…
Read MoreImagine you have multiple identical elements on a page and that you need to select a specific element during a system test. If your test…
Read MoreI know many existing tutorials explain how to install Bootstrap 4 on a Rails 6 application with Webpacker (like the GoRails example…
Read MoreIn this tutorial I am going to show you how to configure Travis CI to run your Rails' test suite and system tests everytime you push a new…
Read MoreI am uncomfortable talking about polarizing topics, even when I agree with the majority. I steer away from political discussions because…
Read MoreYou might be wondering why anyone would want to add Tailwind's default color palette to Bootstrap. It comes down to personal preference, but…
Read MoreIntroduction In this tutorial I am going to show you how to revert and restore records using the PaperTrail Gem. Reverting Old Versions…
Read MoreBy default, Rails displays the record's in the URL (e.g. ). Although there is nothing inherently wrong with this approach, sometimes it's…
Read MoreSage is WordPress starter theme with a modern development workflow. However, deploying a Sage theme can be difficult because of its…
Read MoreIntroduction Many Rails+React tutorials demonstrate how to create an API only application using Rails, and then create a separate front-end…
Read MoreWordPress is said to power 35% of the internet, yet it seems to get a lot of criticism amongst developers. I’ve been developing with…
Read MoreI recently needed to redevelop our agency's website. We moved from Drupal to Jekyll in an effort to keep things simple. However, we didn't…
Read MoreSnippets in Forestry are pre-defined chunks of text that can be inserted into your content. Think of them like WordPress Shortcodes. In this…
Read MoreForesty CMS allows content editors to easily manage a staticly generated site without needing to know markdown or HTML. This works really…
Read MoreThe Rails Guides give a great example of how to create nested forms. However, Rails does not support adding fields on the fly out of the box…
Read MoreSometimes you need to redirect a parent page to its child page, especially if you need to keep a specific type of menu hierarchy. There are…
Read MoreBy default, WordPress allows you to assign a featured image to a page or post. However, if you're using The Events Calendar, you'll notice…
Read MoreIntroduction Rails ships with turbolinks which: automatically fetches the page, swaps in its , and merges its , all without incurring the…
Read MoreWith the rise in the JAMStack way of thinking, there has been a lot of development in static site generators. One that is quickly gaining…
Read MoreThere is currently a high demand for Javascript developers, which in turn dictates the content and curriculum of many tutorials, articles…
Read MoreImagine the following set of models and relationships: A can add a to a . The has a , and that has a which depends upon the . So I…
Read MoreImagine an application with the following relationships: A model which through a join table. A model which through a join table. A…
Read MoreI recently ran into an issue with Netlify form submissions on a Gatsby site. Specifically, it had to do with a group of radio buttons. I was…
Read MoreIntro Originally this article recommended using the htmlentities function. However, after a lot of helpful feedback, I've learned it's best…
Read MoreI started my career in web development by using Drupal 7 on every project. I just assumed that WordPress could not meet my needs, and that…
Read MoreI know this article seems like clickbait, so let me try and explain myself before I lose you. In order to understand my viewpoint, it helps…
Read MoreI work for an agency that specializes in developing small to medium sized websites. Over the years I've found that I follow the same process…
Read MoreIn this tutorial I will show you how to create a Bootstrap theme for WordPress. If you just want the finished product, feel free to download…
Read MoreI recently needed to help a client create lead generation forms on their website. The website was already in development, and was completely…
Read MoreIn this tutorial I'm going to show you how to create a frontend form for a custom post type that anonymous users can fill out. As an added…
Read MoreIn this article I'm going to show you my personal and opinionated WordPress theme development workflow. The goal of this article is to…
Read MoreIn this tutorial we are going to create a custom search form in WordPress. Specifically, we are going to add a custom search form on the…
Read MoreIn this tutorial we are going to build a store locator using a proximity search. Below is the final result. WordPress proximity search…
Read MoreThere are plenty of plugins that allow you to add social media icons to your WordPress site. However, I always advocate avoiding plugins in…
Read MoreIn this tutorial I'm going to show you how to configure your Rails app to use RSpec and Capaybara. In addition, we will also install and…
Read MoreI was tasked with converting a association to a association. The challenge was that the app was live, and there were existing…
Read MoreI just migrated my site to Netlify but wanted to keep my DNS with Cloudflare. Below are the steps needed to configure Cloudflare DNS to Work…
Read MoreI recently redeveloped my website using Gatsby, and moved my hosting to Netlify. As part of the launch I wanted to redirect all requests…
Read MoreIntroduction and Requirements When you upload a video to Drupal from YouTube or Vimeo, an automatically generated thumbnail will be created…
Read MoreIntroduction and Requirements Drupal's Calendar module allows you to page between months. However, it can be frustrating for a user to have…
Read MoreIntroduction and Requirements Let's say you want to create an image gallery on your site. Let's say that each image also needs a caption and…
Read MoreIntroduction and Requirements Drupal's Flex Slider module allows site builders to add rotating slides with captions. Using custom CSS, site…
Read MoreIntroduction and Requirements Let's say you have a content type with a date field and term reference field. This content type could be…
Read MoreIntroduction and Requirements Drupal's Calendar module allows an easy way for site builders to display events in a month, week day and year…
Read MoreIntro This tutorial will assume that you are somewhat familiar with the Search API module. It also assumes you are using the Search API with…
Read MoreAt this point, there have been many great tutorials written about configuring Drupal's SMTP Authentication Support with Gmail. However…
Read MoreConfigure Site Date and Time Navigate to admin/config/regional/date-time Enable The Necessary Modules Date Date All Day Date API Date Popup…
Read MoreSometimes you need to edit a field's configuration once there is already data store in the database for this field. If you try to do this…
Read MoreSite performance is crucial to a good user experience, and also is a factor in SEO. Because Drupal sites can be very query heavy at times…
Read MoreOK, so you've integrated your Drupal install with Salesforce and are able to pull data from Salesforce into Drupal. Everything's working…
Read MoreYou probably already know that Drupal offers Views Accordion to display content in jQuery Accordions. This is fine if you're looking to…
Read MoreDrupal's Pathauto is a must have for any Drupal project. This tutorial will demonstrate a simple yet effective way to utilize Pathauto to…
Read MoreIn my last tutorial, we integrated Salesforce with a local Drupal installation. In this tutorial, we will continue to build off from what we…
Read MoreSalesforce is one of the most popular CRMs used today. In this tutorial we will integrate Salesforce with a local Drupal install in order to…
Read MoreThe Leaflet Module for Drupal is probably the most popular mapping module. I was recently working on a project where I was mapping locations…
Read MoreBy default, Drupal offers the ability to search the site with its core Search module. However, this module can be limiting. In this…
Read MoreYou might be wondering why you would need to track the number of times a link is clicked in Drupal, when this can be done using Google…
Read MoreThanks to CSS3 Media Queries web developers can create a completely different layout for their websites when viewed on small screens. Drupal…
Read MoreSites that allow users to post and vote on content such as Reddit and Digg are hugely successful. In this tutorial we are going to create a…
Read MoreI recently worked on a project where the site's URL structure was going to change. This is easy to do with Pathauto, but I wanted to ensure…
Read MoreI love Drupal, but its media handling is far from ideal. Out of the box, it pales in comparison to WordPress. Most notably, Drupal does not…
Read MoreLoading content via Ajax can create a great user experience. Instead of loading a totally new page, the desired content is loaded on the…
Read MoreDrupal allows you to organize content into taxonomies. This is best illustrated in tagging content, similar to Twitter. Drupal then…
Read MoreDrupal's FlexSlider module allows for creation of responsive image sliders and carousels. This is perfect for creating banner slideshows, or…
Read MoreIf you're using the Pathauto Module, you know that you can create custom path patterns for nodes, taxonomies and users. This is great for…
Read MoreLast week I wrote an article about how to use the command line. Now we're going to put this knowledge to use. Using drush you can set up a…
Read MoreI used to be terrified of the command line terminal. I'm a visual learner, and the command line is the exact opposite of visual. Plus, I'm a…
Read MoreMost websites have a copyright in the footer, like ©2015. However, if you do this using static text, you'll need to be sure to update this…
Read MoreEDIT This is an old article, and the recomendations are no longer best practice. A lot of people are familiar with conditional classes…
Read MoreWith the launch of this new site, I encountered a very frustrating error. Drupal was unable to send emails, and I was receiving the…
Read MoreEvery Drupal developer knows about the heavy hitters like views, display suite and context. However, this is a list of 5 Drupal Modules that…
Read More