1_ in config/environments/production.rb
Set config.assets.compile = false to config.assets.compile = true
2_ in config/application.rb
Add the line config.assets.compile = true
Sass == "Syntactically Awesome Stylesheets"
Sass is a CSS extension language. It builds on top of CSS, fixes some of its problems, and generally makes it way better.
###What's wrong with CSS?
It's so, so not DRY:
| To remove a submodule you need to: | |
| Delete the relevant line from the .gitmodules file. | |
| Delete the relevant section from .git/config. | |
| Run git rm --cached path_to_submodule (no trailing slash). | |
| Commit and delete the now untracked submodule files. |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |