Hi everyone, I’m Ondrej and I’m a co-author of GoPay Ruby gem. In this blog post, I’ll tell you how we make our lives easier when handling payments via GoPay REST API.
In computer programming, SOLID (Single responsibility, Open-closed, Liskov substitution, Interface segregation and Dependency inversion) is a mnemonic acronym introduced by Michael Feathers for the “first five principles” named by Robert C. Martin in the early 2000s that stands for five basic principles of object-oriented programming and design. The principles, when applied together, intend to make […]
On many occasions we need to load multiple records with associations from a database. The easiest way is to access this is via iteration (.each) written in Ruby. This is not the best approach as it can result in issuing 1+n queries (complexity O(n)) instead of single query (O(1)). Using iteration isn’t optimal because as the […]
We spent three wonderful days in Poland at Wroc_love.rb, a Ruby-oriented conference. Here’s a quick recap about our experience.
Here at PrimerHammer, we use TDD (Test-Driven Development) as our primary and most trusted method of building code that is sustainable, well designed and easy to read. TDD is what allows us to safely refactor our code without the fear of changing its behavior or “breaking things”. If you are not sure what TDD is […]
On this trip, our team went to Salzburg Austria to attend the well-known Ruby conference.
I had the incredible opportunity to mentor a number of ambitious girls in Bratislava, the capitol of Slovakia, during the RailsGirls 2015.
A few weeks ago we set out to visit our client in San Francisco for two weeks and it was our second time that we went there. There is a lot of writing material from that trip, however, in order to make the blog as short and sharp as possible, I picked only two topics […]