Mike Coutermarsh
  • Home
  • About
  • Twitter
  • GitHub
Sign in Subscribe

Boston Vim: Learning Vim in a Week

  • Mike Coutermarsh

Mike Coutermarsh

Sep 4, 2014

Slides

Get notified of new posts

Enter your email
Subscribe

Using Multi-Node Elasticache with Rails

When using multi-node Elasticache memcached with Rails, it's critically important to get your setup correct. If you don't, your application will connect to memcached nodes at random (!!!). Resulting in low cache hit rates. How to setup Conveniently, there is a gem for this, dalli-elasticache. gem "dalli-elasticache" Using the gem for
May 4, 2023 1 min read

Sidekiq connecting logs in test

Sidekiq 7.0.6 connecting to Redis with options If you have these all over your Rails test logs, here is how you can disable them for test. In test/test_helper.rb, add the following: Sidekiq.logger.level = Logger::WARN Now your test logs will be clean. This took
Apr 21, 2023

New index name generation in Rails 7.1

For as long as I can remember Rails has had this little quirk where it will auto generate index names that are too long. A couple weeks ago Andrew Culver tweeted out his wish for this to be improved. I'll contribute $500 to the bounty for anyone who is willing
Apr 8, 2023 1 min read
Mike Coutermarsh © 2023
  • HTML/CSS to Image API
  • Twitter
  • GitHub
  • LinkedIn