Hack hack hack...

An open journal-- some of it written for you, but most of it is for me.

FIS Day23

Blog Configuration

1
2
3
4
♕ heroku domains:add adamjonas.com
Adding adamjonas.com to ajonas... done
♕ heroku domains:add blog.adamjonas.com
Adding blog.adamjonas.com to ajonas... done
1
2
3
4
5
6
7
8
HOST NAME IP ADDRESS/ URL RECORD TYPE MX PREF TTL 
  @       Heroku IPs              A(address)
  @       Heroku IPs              A(address)
  @       Heroku IPs              A(address)
  www      ajonas.heroku  CNAME

SUB-DOMAIN SETTINGS 
  blog   ajonas.heroku   CNAME

Explanation of heroku side is here.

POTD

  • Jeff Raskin

Morning Code

1
rails generate rspec:install

a class is what describes how objects are similar to eachother instances describe how objects are different

Rails

form builders - ActionView

acceptance -> virtual attribute

@instance_variables only can be accessed within the same action

Every time you run a migration
1
rake db:test:prepare

shoulda_matchers

Comments