Skip to content

Instantly share code, notes, and snippets.

View gauravsingh-shadowhealth's full-sized avatar

Gaurav Singh gauravsingh-shadowhealth

View GitHub Profile
@gauravsingh-shadowhealth
gauravsingh-shadowhealth / PSQL.md
Created November 30, 2022 16:00 — forked from sclaypool-shadow/PSQL.md
Working with psql and rails

Using a copy of the dev database for local testing

Postgres can serialize the entire database (more or less) to a sql file using pg_dump. This file can then be loaded up into a local copy of the database for testing.

Quickstart

  1. Copy dev.db

  2. createdb shadowlms_development

@gauravsingh-shadowhealth
gauravsingh-shadowhealth / Gemfile
Created June 25, 2020 18:05 — forked from dhh/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers