jshah

Ruby

2 pieces on Ruby. All writing →

#TitleTopicDate
04
Encapsulate for Easy Refactors
How encapsulating logic today makes tomorrow's refactor easy, shown by extending a Rails role into its own model.
Ruby 2020·12
01
Thread Safe Connection Pool in Ruby
Building a thread-safe connection pool with class instance variables, a Mutex, and the connection_pool gem.
Ruby 2020·05