Skip to content

Instantly share code, notes, and snippets.

@charliegerard
Last active August 29, 2015 13:57
Show Gist options
  • Save charliegerard/9591500 to your computer and use it in GitHub Desktop.
Save charliegerard/9591500 to your computer and use it in GitHub Desktop.

#Day 16

Actice record associations

Associations have to be in alphabetical order.

Weekend homework (https://gist.github.com/wofockham/1000198e4ae7bed746ae) Morning warm-up: (https://gist.github.com/mathildathompson/9590420)

##Rails app

To create rails app in terminal: rails new first_app -d postgresql cd in project rails generate scaffold ... rake db:create rake db:migrate

rails server - localhost 3000

rails console to test your program in terminal instead of binding.pry

gem 'better_errors' for a better error page

##Homework:

movies_stocks (https://gist.github.com/wofockham/ceabe887c02f3acafb05)

Idea: software able to analyse a song and give you a detail of the exact notes and instruments used. separate song into actual tracks of instruments to help remix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment