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

If you haven't been emailed yet contact us as soon as possible.

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

And after we will cover git

Spring 2015 - Week 9: Idea to App Part 2, TDD, Git

By Rails Decal

Spring 2015 - Week 9: Idea to App Part 2, TDD, Git

  • 1,155