quattro_4 scribble

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

RubyPlus #33

https://www.rubyplus.com/podcasts/381-Episode-33

  • Nanoc - Static Site Generator
    • flexible static-site generator (a small personal blog to a large corporate website)
  • Demystifying Rails
  • Upgrading Shopify to Rails 5
    • Upgrading the Shopify monolith - one of the oldest and the largest Rails applications in the industry
      • from Rails 4.2 to 5.0 took us nearly a year.
  • Helpful Resources for Your Rails App Upgrade
  • Ruby Standard Gems
    • Default gems
    • Bundled gems
  • Testing Cookies in Rails
    • rack-test get_cookie method
    • Timecop
  • How We Upgraded A Very Large App from Rails 3 to Rails 4
    • BUNDLE_GEMFILE=Gemfile_rails4 bundle exec
  • redis_dashboard
    • Sinatra app to monitor Redis servers
    • mount RedisDashboard::Application, at: "redis_dashboard"
  • nplusone_control
    • expect { ... }.to perform_constant_number_of_queries.matching(/INSERT/)
  • Replacing a Complex Regular Expression with a Simple Parser
    • Step through a string, character by character
    • Append each character to a buffer
    • When a token-separating condition is encountered, save the buffer to an array and empty it.
  • What I learnt today from reading gems' code
    • Sidekiq
      • Sidekiq.redis_pool
      • yielding for configuration
    • ActiveSupport::TaggedLogging
    • self.new in a module
  • ActiveRecord callbacks: an after_commit gotchya
    • callbacks can certainly enable bad design
  • Ruby Code Formatter