Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queues - Tamiko Terada - MediaRanker #49

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
654e413
create new rails app
TamikoT Apr 10, 2017
cb1919b
create workscontroller
TamikoT Apr 10, 2017
18b78aa
create Work model and migrate
TamikoT Apr 10, 2017
3191b4b
read in CSV file to seed
TamikoT Apr 10, 2017
06f14e2
routes added for works
TamikoT Apr 10, 2017
e0ed99e
test(model)-work must have a title
TamikoT Apr 11, 2017
cf7fba5
TDD(model)-validate Work :title presence
TamikoT Apr 11, 2017
070daa5
test(model)-work must have a creator
TamikoT Apr 11, 2017
f4a6e4d
TDD(model)-add valdate Work :by presence (not called :creator)
TamikoT Apr 11, 2017
9af1a17
typos fixed
TamikoT Apr 11, 2017
28e00c2
TDD(model)-validations for each field of Work
TamikoT Apr 11, 2017
303e68a
confirm seeds are reading in correctly
TamikoT Apr 11, 2017
e07d335
TDD(model)-Work#books returns books
TamikoT Apr 11, 2017
111440d
seed test database with records of ea. media type
TamikoT Apr 11, 2017
6eba113
test(model)-Work#albums must return album Works
TamikoT Apr 11, 2017
56c1ad5
TDD(model)-add .albums method to Work model
TamikoT Apr 11, 2017
a79bf18
test(model)-Work#movies must return movies
TamikoT Apr 11, 2017
4335c55
TDD(model)-create movies method in Work model
TamikoT Apr 11, 2017
3d3ffe7
comment out routes from site
TamikoT Apr 12, 2017
beaa823
create routes for media_type index and new
TamikoT Apr 12, 2017
c986f50
add welcome controller for landing page
TamikoT Apr 12, 2017
9778dc0
Merge branch 'dev-model'
TamikoT Apr 12, 2017
f8a99b2
route root to Welcome#index
TamikoT Apr 12, 2017
42b24c8
basic CRUD routes set for Work
TamikoT Apr 12, 2017
6089335
view: edit text in welcome page
TamikoT Apr 12, 2017
f3e4be8
create Votes Controller with index
TamikoT Apr 12, 2017
5e4a514
create UsersController with index
TamikoT Apr 12, 2017
52d0b62
create Vote model
TamikoT Apr 12, 2017
af772fc
create User model and migrate
TamikoT Apr 12, 2017
43094e7
TDD(model)-remove unnecessary validation
TamikoT Apr 12, 2017
1f4f4b4
refactor tests in models/work
TamikoT Apr 13, 2017
bdcacfe
works#index controller method and view
TamikoT Apr 13, 2017
9f67e0b
works#index controller method changes
TamikoT Apr 13, 2017
e037753
refactor routes
TamikoT Apr 13, 2017
9c141de
TT(model)-add works#index tests
TamikoT Apr 13, 2017
9a617e0
test(controller)-add specs for Work#new
TamikoT Apr 13, 2017
91cfb84
TDD(controller)-edit route and method for Work#new
TamikoT Apr 13, 2017
d4358c0
add foundation.css to assets
TamikoT Apr 13, 2017
cc76bc8
add foundation to application.css
TamikoT Apr 13, 2017
b39a844
add styling to application header (still need img)
TamikoT Apr 13, 2017
66fa563
views-add image to header in application
TamikoT Apr 14, 2017
0545323
change root to works#index and add top 10
TamikoT Apr 14, 2017
5abcf2a
views-add links to home page works
TamikoT Apr 14, 2017
bde648f
views-add table to work#index
TamikoT Apr 14, 2017
85405b8
views-work#show page add details and table
TamikoT Apr 14, 2017
52ad07a
test(controller)-add test outline for controller methods
TamikoT Apr 14, 2017
bd0fbf9
add CRUD methods to WorksController
TamikoT Apr 14, 2017
c5f38b3
views-works#show add buttons
TamikoT Apr 14, 2017
8dfc614
add routes for votes and users
TamikoT Apr 14, 2017
3f5ae44
create SessionsController
TamikoT Apr 14, 2017
ec660a5
comment out failing tests
TamikoT Apr 14, 2017
973d7ab
test(controller)-works#index no works
TamikoT Apr 14, 2017
ad8d79f
test(controller)-works#create for count increase
TamikoT Apr 14, 2017
7e939a9
test(controller)-Works#create specs
TamikoT Apr 14, 2017
4d1fe5d
add associations to models
TamikoT Apr 14, 2017
db499f5
test(model)-outline for VoteModel specs
TamikoT Apr 14, 2017
99797d2
add fixtures for users/votes
TamikoT Apr 14, 2017
f828ac4
name sessions routes
TamikoT Apr 14, 2017
3269b26
views(home) formatting for top 10 list
TamikoT Apr 14, 2017
3267aa2
views(home)-formatting
TamikoT Apr 14, 2017
58aa419
views(home)-format spotlight
TamikoT Apr 14, 2017
e091dd3
try to figure our sesions
TamikoT Apr 14, 2017
6efa26e
views(login)-add login functionality to view
TamikoT Apr 14, 2017
b439cd3
add links to the bottom of top 10
TamikoT Apr 17, 2017
6856025
session and users dont work
TamikoT Apr 17, 2017
3b1684b
add route for logout
TamikoT Apr 20, 2017
bb1f466
logout/login functionality
TamikoT Apr 20, 2017
0cdf54c
add binding of caller
TamikoT Apr 20, 2017
bd58abd
revise sessions.new form
TamikoT Apr 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TDD(model)-add valdate Work :by presence (not called :creator)
TamikoT committed Apr 11, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f4a6e4d83675c36151bd0046a2edf5432bc7b633
1 change: 1 addition & 0 deletions app/models/work.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
class Work < ApplicationRecord
validates :title, presence: true
validates :by, presence: true
end