Skip to content

Instantly share code, notes, and snippets.

View Sierra-T-9598's full-sized avatar

Sierra Tucker Sierra-T-9598

View GitHub Profile
@Sierra-T-9598
Sierra-T-9598 / heroku_pg_db_reset.md
Created March 31, 2022 19:38 — forked from zulhfreelancer/heroku_pg_db_reset.md
How to reset PG Database on Heroku (for Rails app)?

It's important to note that running this reset will drop any existing data you have in the application

How to reset PG Database on Heroku?

  • Step 1: heroku restart
  • Step 2: heroku pg:reset DATABASE (no need to change the DATABASE)
  • Step 3: heroku run rake db:migrate
  • Step 4: heroku run rake db:seed (if you have seed)

One liner

@Sierra-T-9598
Sierra-T-9598 / partner_feedback.md
Last active February 6, 2022 21:46 — forked from megstang/partner_feedback.md
Partner Feedback (Mod 3)

Project Feedback - Viewing Party Lite

Directions

  1. Copy the questions below, and fill them out with feedback for your project partner.
  2. Individually slack your partners the feedback you filled out for them (by end of day).
  3. Before tomorrow, 9am MT, take some time reviewing your partner’s feedback that they sent you.
  4. Tomorrow at 9am you will get on a video call with your partner(s) for the in person partner retro to discuss feedback.

Partner: Mallory Vining

Rails Step By Step “Guide”

Start a new rails project:

Reference: https://github.com/turingschool-examples/task_manager_rails

This will start a new Rails App with postgresql as database and skip the usage of Spring and Turbolinks (method used in task_manager):

rails new task_manager -T -d="postgresql" --skip-spring --skip-turbolinks

@Sierra-T-9598
Sierra-T-9598 / Capybara.md
Created December 1, 2021 18:38 — forked from JCNapier/Capybara.md
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above

Checklist/Rubric

To make a copy of this rubric:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of the document.
  2. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

Part I: Creating Directories and Files; Initializing Git and Pushing to GitHub

  • I named my directories correctly.