Skip to content

Commit aa882b4

Browse files
committed
Update 2014-11-24.md
1 parent 8c921d6 commit aa882b4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

2014-11-24.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# For week of 24 November 2014
22

33
* Ruby, Not Rails, see it at http://onebrokeb.com/ruby-not-rails
4-
- [ ] Reserve the domain on Black Friday
5-
- [ ] Get the app hosted on the domain
4+
- [x] Reserve the domain on Black Friday
5+
- [x] Get the app hosted on the domain
66
- [ ] Interview Julian (or whomever) to try it out and make sure you like the questions and the way the site looks
77
- [ ] Amend the process as necessary
88
- [ ] Update the site as necessary
@@ -16,29 +16,29 @@
1616
But Feel free to edit this as it changes -- or discard it in favour of your own way of working :)
1717
I probably also included more than I need to, but I feel like it goes much faster to have it broken down.
1818
Plus I wanted to think through it a bit.
19-
- [ ] Make the Rails App
20-
- [ ] Set up RSpec
19+
- [x] Make the Rails App
20+
- [x] Set up RSpec
2121
- [ ] Acceptance test (in RSpec or Cucumber or w/e) You can use the one I came up with, translating as necessary, or write your own.
2222
- [ ] Begin working through the acceptance test, creating things as you need them. It will probably go something like the following
23-
- [ ] Root route points to the BooksController#index
24-
- [ ] BooksController and the index method, which gets the books
23+
- [x] Root route points to the BooksController#index
24+
- [x] BooksController and the index method, which gets the books
2525
- [ ] Book model (schema we discussed is below)
2626
- [ ] `books/index.html.erb`
2727
- [ ] Test and logic to find how many copies of a book are available (probably it's the number of copies that have a checkout date with no checkin date)
28-
- [ ] `BooksController#show` and `books/show.html.erb`
29-
- [ ] `GET /books/:id/borrow` route to `BooksController#borrow_form` with view `books/borrow_form.html.erb`
30-
- [ ] A class that takes a book and hash of
28+
- [x] `BooksController#show` and `books/show.html.erb`
29+
- [x] `GET /books/:id/borrow` route to `BooksController#borrow_form` with view `books/borrow_form.html.erb`
30+
- [x] A class that takes a book and hash of
3131
`{name: "Betsy Book Borrower", phone: "555-555-5555", email: "[email protected]"}`
3232
and creates a status for it (hmm, looks like it might need a book id, too,
3333
since we won't know the copy until you give it to them).
3434
I'd probably put this in something like `app/use_cases/borrow_book.rb`,
3535
your controller will ultimately delegate to it.
3636
You'll want to drive this one with unit level tests.
37-
- [ ] Email... uhm, I have no idea, I've never set this up :D
38-
- [ ] `GET /statuses/:id/edit` to `StatusesController#edit` with `statuses/edit.html.erb` view
39-
- [ ] The `StatusesController` is protected by basic http auth
40-
- [ ] `PUT /statuses/:id` to `StatusesController#update` which renders the edit view
41-
- [ ] Have a drink :D
37+
- [x] Email... uhm, I have no idea, I've never set this up :D
38+
- [x] `GET /statuses/:id/edit` to `StatusesController#edit` with `statuses/edit.html.erb` view
39+
- [x] The `StatusesController` is protected by basic http auth
40+
- [x] `PUT /statuses/:id` to `StatusesController#update` which renders the edit view
41+
- [x] Have a drink :D
4242
* Acceptance test inspiration (not Gherkin, but not too far off, probably implement it as Cucumber or an RSpec feature test)
4343
```
4444
As someone from the Rails Girls DC meetup

0 commit comments

Comments
 (0)