$30 off During Our Annual Pro Sale. View Details »

RubyRogues at LoneStarRuby

RubyRogues at LoneStarRuby

Josh's intro slides for a live panel discussion by the Ruby Rogues.

Josh Susser

July 20, 2013
Tweet

More Decks by Josh Susser

Other Decks in Programming

Transcript

  1. æsthetics

    View Slide

  2. sense of beauty or
    the appreciation of
    beauty

    View Slide

  3. a set of principles
    underlying and guiding
    the work of an artist or
    artistic movement

    View Slide

  4. "It just looks better."

    View Slide

  5. principles <=> gut feel

    View Slide

  6. in Ruby on Rails:
    :symbols >= "strings"

    View Slide

  7. class Conference < AR::Base
    has_many "sessions"
    has_many "speakers"
    end

    View Slide

  8. class Conference < AR::Base
    has_many :sessions
    has_many :speakers
    end

    View Slide

  9. create_table :users, :force => true do |t|
    t.string :email, :default => "", :null => false
    t.string :password, :default => "", :null => false
    t.integer :sign_in_count, :default => 0
    t.datetime :created_at
    t.datetime :updated_at
    end

    View Slide

  10. create_table "users", :force => true do |t|
    t.string "email", :default => "", :null => false
    t.string "password", :default => "", :null => false
    t.integer "sign_in_count", :default => 0
    t.datetime "created_at"
    t.datetime "updated_at"
    end

    View Slide

  11. class SurpriseController < AC::Base
    layout "expected"
    end

    View Slide

  12. class SurpriseController < AC::Base
    layout :expected
    end

    View Slide

  13. class SurpriseController < AC::Base
    layout :expected
    def expected
    "surprise"
    end
    end

    View Slide