読者です 読者をやめる 読者になる 読者になる

quattro_4 scribble

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

Ruby5 #618

Ruby5 - Episode #618 - February 12th, 2016

  • Proper Counter Cache
    • UPDATE posts SET comments_count = (SELECT count(1) FROM comments
  • GLI
    • Make awesome command-line applications the easy way
  • ERB Template Rendering
    • Ruby 2.3 is almost 4x faster
    • Yay! Ruby 2.3 is almost 4x faster in this example. And it
  • Kill Your Dependencies
    • mime-types gem recently optimized its memory usage
    • json, oj, multi_json, or yajl-ruby -> Just require 'json'
    • different HTTP clients: faraday, rest-client, httparty, excon, typhoeus, curb, etc -> Net::HTTP
    • Nokogiri -> Oga (nice, simpler alternative), REXML