Infinum #RubyDrops - weekly dev newsletter
Jul 21 2016
Hello, you're reading Infinum Ruby Drops, bringing you the latest Ruby and Rails related news straight to your inbox every week.
This week on Capsized Eight
Hiding secrets in a Vault
Every application needs configuration data like database passwords, AWS access keys, and social app IDs before it can run. What's the easiest way to do it?
A Review of Code Reloaders for Ruby
Many don't notice that Rails supports auto code reloading out of the box, through ActiveSupport::Dependencies. A few will notice it once they are affected by some corner case where the automatic code reloading doesn't work well.
New Features in Ruby 2.4
A short list of some cool features in Ruby 2.4.
Isolate Side Effects
This is part two in a series about how to incorporate functional programming concepts into Ruby code, in a pragmatic way – something I call “functional style.”
Multi-model searching using Elasticsearch vol. 2
In this post we will see how to improve searching intelligence, but right now let’s take care of the main part of our functionality - multi model searching.
How to generate non predicable alphanumerical ids in Rails?
Rails by default uses sequential integers for that which is fine most of the time. But they have one disadvantage - if they are visible externally someone can learn a lot about your business.
Rails 5 allows passing record being validated to error message generator
We can now pass the validated record to the proc for generating a custom error message.
Faster PostgreSQL Searches with Trigrams
In this article, I'll show you how I sped things up with the PostgreSQL trigram extension.
What is the real essence of code review?
Code review is quite necessary in software development, especially in an Agile workflow.
Finding Time to Become a Better Developer
There’s no time for anything. At least that’s how it feels doesn’t it?
Gem of the week
KnowItAll is a small, object-oriented approach to authorization. It knows everything about your application!