A few simple steps when starting a new Rails project
rails new <app_name>
Update Gemfile to include gems for testing
- e.g. RSpec, FactoryGirl, Capybara
|var foo = new Object();|
|var bar = new Object();|
|var map = new Object();|
|map[foo] = "foo"; // --> map["[Object object]"] = "foo";|
|map[bar] = "bar"; // --> map["[Object object]"] = "bar";|
|// NOTE: second mapping REPLACES first mapping!|
|alert(map[foo]); // --> alert(map["[Object object]"]);|
|// and since map["[Object object]"] = "bar",|
This is a quick tutorial explaining how to get a static website hosted on Heroku.
Why do this?
Heroku hosts apps on the internet, not static websites. To get it to run your static portfolio, personal blog, etc., you need to trick Heroku into thinking your website is a PHP app. This 6-step tutorial will teach you how.
A brief introduction to the Ruby Twitter API, providing code and context.