Idea to App Part 2

Hackathon:

Design For Good

This Saturday, starting at 4 PM

ending on Sunday at noon

Located in the Woz

Prizes for best beginner hacks too!

Logistics

Project 2 Specs Released

Find Group by Saturday Night

Quitter!

Continuing

Quitter

  • Twitter for quitters

Idea

  1. People can post about what they are quitting
  2. Admins moderate posts to make sure they are appropriate

For the future!

Roadmap

Step 1

User/Post models

Step 2

User auth

Step 3

Validations + Associations

Roadmap

Step 4

Seeds, Routes

User Show, Index

Step 5

Edit, Update Quit

Step 6

New, Create Quit

No Authorization!

  • So anyone can do anything they want :(

 

  • Think about how you could limit the tasks a user can do

 

  • Will see again when we create admins!

Solve this with cancancan

  • Community backed gem that restricts access
  • Most of the logic is done through "cans" in ability.rb
  • Seen more in lecture

Fall 2015 - Week 8: Idea to App Part 2, TDD

By Rails Decal

Fall 2015 - Week 8: Idea to App Part 2, TDD

  • 880