Why do testing at all? It goes without saying that modern web development cannot be done without some form of automated testing. Working on a code base without a solid test suite is just creating problems in the long run and inviting a lot of future pains when your new feature breaks the app, and […]
Open-closed is one of the SOLID principles, an acronym originally coined by Uncle Bob. In this post I will cover what open-closed is, why it is important and how it applies to Ruby.
Ruby community in Brno hasn’t been active recently and we wanted to bring some fresh air. So we organized a new event that is focused solely on Ruby. It’s called Ruby Stories. What were the talks about? Who came?
We are delighted to give you an update on the benefit of the Vive network for modern women. We remain focused and devoted to offering our clients the very best experience ever with Vive. Vive makes beauty is easy and simplified.
Welcome to Brighton! South from London. Ruby. Beach. English breakfast.
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 […]