Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

turingschool-projects/day_hike

Repository files navigation

The intention of this application if for users to coordinate which trails they will be using for a day hike. This will test your ability to set up many-to-many relationships and access attributes and methods through those relationships.

Constraints:

  • Visitors will go on many hiking trips
  • Each hiking trip is made up of one or more trails
  • A trail may be part of more than one hiking trip

Be sure to read all user stories BEFORE beginning your work

Setup

  • rails db:{drop,create,migrate,seed}
  • bundle exec rspec spec/models (You should have 5 passing tests)

Requirements

  • TDD all new work; validation tests are encouraged but not required.
  • Model coverage should be at 100% (outside of validations)

Not Required

  • No form input is required
  • No visual styling is expected or required

User Stories

Hiking Trip Index page

User Story 1 of 10As a visitor,when I visit the hiking trips index page,I see a list of all hiking trip names inthe database.
User Story 2 of 10As a visitor,when I visit the hiking trips index page,and I click on the name of a hiking trip,I see a unique page for that hiking trip.

Hiking Trip Show page

User Story 3 of 10As a visitor,when I visit a hiking trip's page,I see a list of trails included in the trip,I see the name, address, and length for each trail.
User Story 4 of 10As a visitor,when I visit a hiking trip's page,I see the total hiking distanceof all trails on that hiking trip
User Story 5 of 10As a visitor,when I visit a hiking trip's page,I see the average hiking distanceof all trails on that hiking trip
User Story 6 of 10As a visitor,when I visit a hiking trip's page,I see a heading that says "Longest Trail on Trip"  and the name and length of the longest trail  included on that hiking trip
User Story 7 of 10As a visitor,when I visit a hiking trip's page,I see a heading that says "Shortest Trail on Trip"  and the name and length of the longest trail  included on that hiking trip
User Story 8 of 10As a visitor,when I visit a hiking trip's page,I can click on the name of a trailto see a show page for that specific trail.

Trail Show page

User Story 9 of 10As a visitor,when I visit a trail's page,I see the name and address of this trail.I also see the name and total length ofevery hiking trip that includes this trail
User Story 10 of 10As a visitor,when I visit a trail's page,I see the total number of hiking trips where this trailwas included

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp