COMPLEX WEB APPS MADE SIMPLE

written by PrimeHammer

Ruby Brighton 2016 Report

Published by David
3 min read

Welcome to Brighton! South from London. Ruby. Beach. English breakfast.

Introducing a new GoPay gem for handling payments

Published by Ondrej Zadnik
3 min read

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.

Single Responsibility Principle

Published by Erich Kaderka
5 min read

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 […]

Playing with “joins” in ActiveRecord

Published by Ivan
4 min read

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 […]

Wroc_love 2016 Report

Published by David
2 min read

We spent three wonderful days in Poland at Wroc_love.rb, a Ruby-oriented conference. Here’s a quick recap about our experience.

Introduction to TDD

Published by David
5 min read

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 […]

EuRuKo 2015

Published by David
2 min read

On this trip, our team went to Salzburg Austria to attend the well-known Ruby conference.

RailsGirls Bratislava 2015

Published by David
3 min read

I had the incredible opportunity to mentor a number of ambitious girls in Bratislava, the capitol of Slovakia, during the RailsGirls 2015.

San Francisco trip

Published by David
2 min read

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 […]