To help rails development teams manage credentials, Rails 5.2 introduces a new C…
ruby-on-rails
A web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
Number of posts: 15
Cookies using Rails Rspec and Headless Chrome Selenium::WebDriver::Error::NoSuchCollectionError
While attempting to set a required cookie manually using ChromeDriver to run an integration test, I came across this error: Selenium::WebDriver::Error::NoSuchCollectionError: unable to set cookie ```…
Rails Join Association with Count Condition using Postgres
Recently, I have the pleasure of working on a feature that needed to filter search results based on the record count of an associated model. Here's how it was tackled.…
Using Pry in Docker or Foreman with Rails
If you are using Docker or Foreman for local development in Rails, then you've probably noticed that pry doesn't work very well in these environments. I haven't done a lot of research into why this is the case, (maybe some one else can chime in), but to get pry running follow these steps:…
Running Capybara and Headless Chrome on CircleCI 2.0
There are numerous forum posts and people having issues getting their feature specs running in CircleCI using selenium and headless chrome, but it's not as complicated as you might expect.…
Rails 5.1+ UUID as a primary key in ActiveRecord with PostgreSQL
Rails 5 has some great new features. This is a quick guide on how to set models to use UUID instead of an integer based primary key.…
Dockerizing a Rails 5 App with Multiple Services Part 1: Development
Simply put, Docker is a container management service. But where do you start? What's a container? This guide will help you get started with using Docker for Rails development.…