quattro_4 scribble

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

RubyPlus #28

https://www.rubyplus.com/podcasts/331-Episode-28

  • Open Source Software Positions
    • only list jobs that directly improve and involve FOSS or Open Hardware projects
  • Segment Open Fellowship 2017
    • a three month long program supporting three to five open-source developers with $8k per month to focus full-time
  • N+1 Queries or Memory Problems: Why not Solve Both?
    • Manually Building Count Data in Hashes
      • @pending_count_hash = Comment.pending.where(post_id: post_ids).group(:post_id).count
    • bullet, rack-mini-profiler
  • 27 Ruby Gems I use in almost every SaaS project
    • LoDash - A modern JavaScript utility library delivering modularity, performance & extras
    • local_time - display relative time
    • paper_trail - This will allow you to set up audit logs
    • ranked-model - Allows quick ordering and sorting of sibling elements
    • premailer-rails - This helps with CSS inclusion into mail templates
      • Gmail will commonly break email templates
    • griddler - This tool allows you to parse email
    • Rollbar Documentation
  • Incorporating Modern Javascript Build Tools with Rails
    • Yarn, Browserify, Webpack
  • Clean Up your Acceptance Tests with Mache
  • deep_pluck gem
    • User.deep_pluck(:name, :posts => :title)
      • [{'name' => 'David' , :posts => [{'title' => 'post1'}, {'title' => 'post2'}]},
  • Geared Pagination
    • we will return 15 elements on page 1, 30 on page 2, 50 on page 3, and 100 from page 4 and forward
  • Common Rails Mistakes
    • public_send
  • Ruby 2.3.4 Released
    • 80 bug fixes after the previous release