Skip to content

Instantly share code, notes, and snippets.

View SteveOscar's full-sized avatar

Steven Olson SteveOscar

View GitHub Profile
Class Article < ActiveRecord::Base
has_many :article_newspapers
has_many :newspapers, :through => :article_newspapers
end
Class Newspaper < ActiveRecord::Base
has_many :article_newspapers
has_many :articles, :through => :article_newspapers
end

Setting Group Expectations

Group Member Names: Dan, Lenny, SteveO, BethS

  1. When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed? Not too late in the evening, usually leave by 8. Broncos.

  2. How will group members communicate? How often will communication happen, and how will open lines of communication be maintained? Slack @channel

  3. Which feature(s) does each group member want to work on? Which feature(s) does each group member not want to work on? Beth likes DB, Dan too, Steve too. Lenny does not like design. We will debrief one another on what we build.

@SteveOscar
SteveOscar / agile_dev.md
Created December 7, 2015 17:26
Agile Development

1: The agile methed focuses on iterations to quickly produce functional software, rather than tackling a whole project at once. Results are valued over the process.
2: Agile is probably so popular in the software world because both the developers and the clients are more satisfied with the process. Breaking a project down into managable iterations makes development less stressful, and quickly produces working software that the client can review.
3: Agile seems less appropriate for hardware-based projects, particularly allowing last-minute changes from the client. The specifications and functioinality of a rocket cannot be changed 75% through the process. Software is more felixble.

@SteveOscar
SteveOscar / cfu_crud_in_sinatra.markdown
Last active December 2, 2015 16:12 — forked from rwarbelow/cfu_crud_in_sinatra.markdown
CRUD in Sinatra -- Check for Understanding

. Define CRUD.

An acrnym for Create, Read, Update, Delete, refering to database operations.

. There are seven verb + path combinations that are necessary in a basic Sinatra app in order to provide full CRUD functionality. List each of the seven combinations, and explain what each is for.

-DELETE '/items/:id' -- used to delete a specific row from the database.
-PUT '/items/:id' -- used to update a row in the database.
-GET '/items/:id/edit' -- looks up the item to be updated.