Skip to content

Instantly share code, notes, and snippets.

View Dittrir's full-sized avatar
🟢

Robin Dittrich Dittrir

🟢
  • Bellingham, WA
View GitHub Profile

Rails Cheatsheet

Created and Updated by: Scott Borecki

[![LinkedIn: scott-borecki][linkedin-badge]][LinkedIn] [![Email: scottborecki@gmail.com][gmail-badge]][gmail] [![GitHub: Scott-Borecki][github-follow-badge]][GitHub]

Please reach out if you have any comments or suggestions for updates!

@Dittrir
Dittrir / Capybara.md
Created November 29, 2021 23:11 — forked from JCNapier/Capybara.md
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above

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

@Dittrir
Dittrir / b2_intermission_work.md
Last active November 27, 2021 03:50 — forked from mikedao/b2_intermission_work.md
B2 Intermission Work Submission

B2 Intermission Work

HTML

  1. What is HTML?
    • Hyper Text Markup Language (Standard language for web pages).
  2. What is an HTML element?
    • Everything between the start and end tags ex: <h1>Heading</h1> Heading would be the element.
  3. What is an HTML attribute?
    • An attribute provides additional info about elements.

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.