- Add image to User
- Add a link to the sidebar to "Favorite cats"
- Add like / unlike to cat's show page
- Show like counter for each cat
- Add 'mini-feed' to user's show page with first 3 cats and link to more
| .media-grid { | |
| width: 100%; | |
| } | |
| .media-grid > li { | |
| float: left; | |
| display: block; | |
| margin-right: 20px; | |
| margin-bottom: 20px; |
| Checkout | |
| --------- | |
| cd to the folder where you keep your projects | |
| git clone [email protected]:bardelas/catz.git [folder_name] | |
| cd [folder_name] | |
| bundle update | |
| rake db:migrate | |
| rails s |
cd to the folder where you keep your projects
git clone [email protected]:bardelas/catz.git [folder_name]
cd [folder_name]
bundle update
rake db:migrate
rails s
| # The amazing coffee | |
| foo = (a,b) -> | |
| a * b |
| /******/ (function(modules) { // webpackBootstrap | |
| /******/ // The module cache | |
| /******/ var installedModules = {}; | |
| /******/ // The require function | |
| /******/ function __webpack_require__(moduleId) { | |
| /******/ // Check if module is in cache | |
| /******/ if(installedModules[moduleId]) | |
| /******/ return installedModules[moduleId].exports; |
| /******/ (function(modules) { // webpackBootstrap | |
| /******/ // The module cache | |
| /******/ var installedModules = {}; | |
| /******/ // The require function | |
| /******/ function __webpack_require__(moduleId) { | |
| /******/ // Check if module is in cache | |
| /******/ if(installedModules[moduleId]) | |
| /******/ return installedModules[moduleId].exports; |
| function *sample() { | |
| yield take(STEP_1) | |
| const result = yield call(someApi) | |
| yield take(STEP_2) | |
| ... | |
| yield take(STEP_3) | |
| } |