Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Lessons from the Other Side: Effectively Contributing to Open Source

nzkoz
May 21, 2012

Lessons from the Other Side: Effectively Contributing to Open Source

Talk given at Red Dot Ruby Conf in singapore, may 2012.

nzkoz

May 21, 2012
Tweet

Other Decks in Technology

Transcript

  1. “This is the very reason I don’t use Rails, and

    I know there’s many others who think like me.” Tuesday, 22 May 12
  2. “This is the very reason I don’t use Rails, and

    I know there’s many others who think like me.” Tuesday, 22 May 12
  3. CREATE TABLE `people` ( id int(11) NOT NULL AUTO_INCREMENT, name

    varchar(255), employer_id int(11), PRIMARY KEY (`id`), KEY `index_people_by_employer` (`employer_id`) ) Tuesday, 22 May 12
  4. class CreatePeople < ActiveRecord::Migration def self.up create_table :people do |t|

    end end def self.down drop_table :people end end Tuesday, 22 May 12
  5. class CreatePeople < ActiveRecord::Migration def self.up create_table :people do |t|

    t.column :name, :string, :null=>true t.column :employer_id, :integer, :null=>false t.column :created_at, :datetime t.column :updated_at :datetime end end def self.down drop_table :people end end Tuesday, 22 May 12
  6. class CreatePeople < ActiveRecord::Migration def self.up create_table :people do |t|

    t.string :name, :null=>true t.integer :employer_id, :null=>false t.timestamps end end def self.down drop_table :people end end Tuesday, 22 May 12
  7. class CreatePeople < ActiveRecord::Migration def self.up create_table :people do |t|

    t.string :name, :null=>true t.integer :employer_id, :null=>false t.timestamps end end def self.down drop_table :people end end Tuesday, 22 May 12
  8. class CreatePeople < ActiveRecord::Migration def self.up create_table :people do |t|

    t.string :name, :null=>true t.integer :employer_id, :null=>false t.timestamps end add_index :people, :employer_id end def self.down drop_table :people end end Tuesday, 22 May 12
  9. class CreatePeople < ActiveRecord::Migration def self.up create_table :people do |t|

    t.string :name, :null=>true t.integer :employer_id, :null=>false t.timestamps end add_index :people, :employer_id end def self.down drop_table :people end end Tuesday, 22 May 12
  10. class CreatePeople < ActiveRecord::Migration def self.up create_table :people do |t|

    t.string :name, :null=>true t.integer :employer_id, :null=>false t.timestamps end add_index :people, :employer_id end def self.down drop_table :people end end Tuesday, 22 May 12
  11. singapore_now = Time.zone.now # => Thu, 17 May 2012 18:12:11

    SGT +08:00 wellington_now = singapore_now.in_time_zone("Wellington") # => Thu, 17 May 2012 22:12:11 NZST +12:00 singapore_now == wellington_now # => true Tuesday, 22 May 12