quattro_4 scribble

scribble 落書き (調べた事をただ落書きする)

Ruby5 #579

https://ruby5.codeschool.com/episodes/621-episode-579-august-25th-2015

  • Fixing Slow Request in Rails App
    • how to deal with slow requests in your applications
    • skylight gem
    • hidden loops
    • move out of each or allocate in advance
      • inactivity_threshold = 1.year.ago
      • log "Processed customer".freeze
      • BLACKLIST = ["hacked.com","l33t.com"]
        • BLACKLIST.include?(domain)
    • Ship First, Optimize Later
  • Revisiting rails:update
    • bundle exec rake rails:update
    • git diff > ../rails_update.diff
  • Magic Numbers in Ruby
    • × THIRTEEN_YEARS = 13 and TWENTY_COMMENTS = 20 would not be sensible constants
  • Rails Enum Is a Sharp Knife
    • Specifying enum values with underlying integers
      • enum status: { active: 0,
  • RubyKaigi2015
    • Dec. 11th - 13th
    • Yukihiro "Matz" Matsumoto, Motohiro Kosaki

♫ ?