-
Start story in pivotal tracker and copy it id (STORY_ID).
-
Checkout development branch and pull from remote
🏃♂️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AllCops: | |
DisplayCopNames: true | |
DisplayStyleGuide: true | |
TargetRubyVersion: 2.4 | |
DisabledByDefault: true | |
Exclude: | |
- db/**/** | |
- bin/* | |
# Prefer &&/|| over and/or. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } | |
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ } | |
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } | |
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } | |
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } | |
@media (min-width:1281px) { /* hi-res laptops and desktops */ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Box Shadow</title> | |
<style> | |
.box { | |
height: 150px; | |
width: 300px; | |
margin: 20px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Encryptable | |
def encrypt(key) | |
crypt.encrypt_and_sign(key) | |
end | |
def decrypt(key) | |
crypt.decrypt_and_verify(key) | |
end | |
private |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Encryptable | |
def encrypt(key) | |
crypt.encrypt_and_sign(key) | |
end | |
def decrypt(key) | |
crypt.decrypt_and_verify(key) | |
end | |
private |
- Load/Reload waffle.
- Get most current list of actions for the project.
- Choose a card from the backlog in waffle. If we're working separately, it's best to move that card that you've chosen into ready and perhaps assign it to yourself as well.
- Make sure multiple team members aren't working on the same issue; ensure everyone knows what each other is working on.
- git checkout master
- git pull origin master
- Ensure you're starting on the master branch and have the most recent changes pulled down.
- run rspec
- Make sure there are no outstanding issues with code on master.
rails new <project_name> -d postgresql --skip-turbolinks --skip-spring -T
-d postgresql
sets up the project to use PostgreSQL--skip-turbolinks
&--skip-spring
creates a project that does not use turbolinks or spring-T
skips the creation of the test directory and use ofTest::Unit
- In the Gemfile:
OlderNewer