Skip to content
Katrin edited this page Dec 22, 2015 · 1 revision

1. Explanation of the pull-request

refactor make_event and make_application methods

Problem with the method make_event (always create an event)

  • now a hash of attributes passed in with the defaults
  • every one of the parameters should be changed
  • default dates are changed, so that the date is always in the future

2. Travis integration

We want to use travis for continuous integration. That means every time we push something new to github travis see that this happend and tell when there is a problem.

We follow the instructions: Getting started: https://docs.travis-ci.com/user/getting-started

  • Johanna sign-in to travis with her github-account.
  • Create a .travis.yml file to the diversity ticketing app.
  • Create a database.yml.travis file to the config directory.
  • We looked for the content into the speakerinnen-files and added them to github: git add, commit and push.
  • To see the travis status, you have to sign up with your github account, use: https://travis-ci.org/

3. Authorization

Matt makes a nice presentation about authorization and posted the slides to the slack-channel.

4. Topic for next time: picture upload

Kind of homework: It would be nice if we read the link Joe posted into the slack channel, this one: https://devcenter.heroku.com/articles/direct-to-s3-image-uploads-in-rails

5. Start with SessionsController

New branch: sessions

Begin with methods: login, logout, create and destroy in SessionsController.

We need views to show a page, where you can log in and also new routes to get the site and post the form in routes.rb. Commenting out the authenticate method for now to avoid the old http authentication.