Disable Same Origin Policy in Chrome
For macOS open -a Google\ Chrome -args -disable-web-security -user-data-dir Linux chromium-browser -disable-web-security -user-data-dir=”[some directory here]” For Windows chrome.exe -disable-web-security See…
Announcing Nonschema Migrations
After many years, I decided that my gem nondestructive migrations needed a facelift. It had some cruft I didn’t want,…
Heroku with a SSL/TLS purchased from SSLRenewals – BYO Instructions
Buy yourself a “RapidSSL Certificate” at SSL Renewals. After you place your order, they may not send you an email, so…
Amazon RDS on Heroku Still Works
Although Heroku has put a lot of attention into their own Postgres-based datbase architecture, Heroku Data, this article still works…
How to Install an Older Version of Rails (2018)
You can install an older version of rails using this syntax: rails _5.1.6_ new my-test-app (Where “5.1.6” is the version…
How to Be a Great Product Owner for Scrum
I think of scrum and agile as always a work in progress. That’s because different teams can practice it to…
Announcing Nondestructive Migrations Version 1.3 for Rails 5.1
I am pleased to announce Version 1.3 of my gem nondestructive_migrations. With this update, nondestructive_migrations is ready for Rails 5.1.…
Custom Error Handling in Rails
1. Create an ErrorsController in app/controllers class ErrorsController < ApplicationController def not_found respond_to do |format| format.html { render template: “errors/not_found”,…
The Great Rails Cache Lie
Today I’ll take a moment to expound on how web development has changed over the last two decades. Long ago,…
Port YAML-based configs to Client-Side Code as JSON
Sometimes in the life of a hybrid Rails-Javascript app you may want to do something unique: have a config file…