Ruby on Rails: Sophie - NikitaDouglas/acebook-Kindred GitHub Wiki

Compiled by Sophie after Week 1 of Makers Acebook.

  • Reflections and notes on learning a new framework Ruby on Rails, working as agile team and proper practices for git issue, branching, pull requestions and automation linked to trello tickets (dreamy!!!)

Learnt:

Process

  • Working in an agile team is AWESOME!
  • Trello: always my mate now my best mate
  • Learning to use git processes properly takes some practice but is invaluable to a well organised team, dry code, rigorous code review, merging and ironing out bugs with travis so you can deploy with (relatively) little pain.
  • Don't underestimate my less friendly but v.important mate: travis
  • Tests as always are your friends. TDD but spike too
  • Mobbing is tiring but rewarding
  • Don't underestimate the importance of structured self-led learning
  • Rest and time away from code make you a better dev

Git Workflow

Set up workflow on a new ticket:

  1. Trello add number to ticket #3
  2. Open issue with same name as ticket (#no self populates)
  3. Link github issue to trello ticket
  4. Create new branch with name of ticket/issue
  5. Switch into branch locally and GO!
  6. Commit and push regularly with detailed explanations

Rails

  • Understand the rails directory setup first before you run any commands or write any code! Here is my guide:

The rails framework directory structure

  • Gems

    • Devise see my write up on how to set up user authentication here
  • Useful commands:

    • Start server from root using rails server and visit localhost:3000
    • Run rails generate <something> Name builds directory for you.

Ruby

⚠️ **GitHub.com Fallback** ⚠️