Hack hack hack...

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

TODO

  • <newestversionofrubyis.com>
Unbind
1
2
3
4
5
6
7
8
9
10
11
Need to understand unbind event 6:30

function selectSeat(e) {
  e.preventDefault();
  $('.selected').removeClass('selected');
  $(this).addClass('selected').unbind("click", selectSeat);
  $('#seatSelected').text($(this).data('seat'));
  $('#confirm-seat').show();
}

$('div.seating-chart li a.available').click(selectSeat);

Javascript Lib

jruby

  • a java implementation of ruby
  • you don’t need to know java
  • One powerful feature of JRuby is its ability to invoke the classes of the Java Platform.
  • jruby wiki

inject

Associations:

  • make list of common many to many relationships, one to many relationships

ActiveRecord and ORMS: - active resource versus active record - active record is an ORM- it wraps the database - active resource wraps the restful web app with Ruby classes and work with them like Active Record models.

mass assignment and the .build(params[:user_name])

rake db:setup I had never seen this… rake db:migrate:redo -> is the combo of rake db:rollback and rake db:migrate

  • http perf - to test lots of traffic on a site

Why should you always provide the second argument to parseInt? 2nd argument in radix– should specify http://stackoverflow.com/questions/7318385/problems-with-javascript-parseint

Basic Vim tutorials

Screencast/Podcasts

Reading

Terms to understand

  • stubs mocks- not test data but test behavior- always want it to behave the same
  • tmux through VIM
  • raw_results-
  • load-balancer- a server to direct traffic
  • singleton objects
  • SMTP vs. POP3
  • service oriented architecture
  • Monolithic user classes
  • merge method
  • Conway’s game of life
  • klass in coffeescript
  • eval -> eval “1+1” => 2
  • hash merge
  • star in case statement
  • compass/codekit
  • delegation
  • SOAP
  • Leaky abstraction
  • Messaging architecture system
  • hash tables

Blog Ideas

Comments