Call things what they are
Good class names: <div class='product with-images'>
Bad class names: <div class='rounded-corners'>
Call things what they are
Good class names: <div class='product with-images'>
Bad class names: <div class='rounded-corners'>
gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.3/bin/pg_config |
http://natashatherobot.com/rails-omniauth-github-tutorial/ |
/lib/tasks/ckeditor.rake | |
require 'fileutils' | |
desc "Create nondigest versions of all ckeditor digest assets" | |
task "assets:precompile" do | |
fingerprint = /\-[0-9a-f]{32}\./ | |
for file in Dir["public/assets/ckeditor/**/*"] | |
next unless file =~ fingerprint | |
nondigest = file.sub fingerprint, '.' | |
FileUtils.cp file, nondigest, verbose: true |
rspec -fd | |
git reset --hard d63bd55 | |
git commit --amend -m 'Refactor enquires controller spec' |
These are steps to setup a new project in ROR. | |
You must configure and install your Gems individually instead of copying the Gemfile from a previous project. | |
Refer to Heroku setup if you want to push your project to Heroku. | |
## Setup directory | |
```sh | |
# Create directory in ~/workspace | |
mkdir ./testproject | |
cd ./testproject |