4.5 Ways to Install Ruby in Userspace
TL;DR RVM is the fastest way to get things up and running. I really enjoy chruby and docker, try them if you have time 😉
Last Updated on May 30, 2023 Recently a Rubyist friend of mine got a new client. He liked the client’s software idea, but the software …
A Quest for Better Specs: Prefer Self-Containment
Last Updated on May 30, 2023 Test suites all over Ruby land are frequently riddled with a bad obsession: one liner spec examples. No matter …
Prevent a force pushing to master with ruby
Yeah, everyone knows, it’s the mor law of versioned systems, NEVER do a git push -f on the default branch, never, even when you know …
Controller Best Practices: Don’t Hide Instance Variables
Last Updated on May 30, 2023 This is something I often mention in code reviews, and it’s also mentioned in some Rails guidelines elsewhere without …
Using ActiveRecord to create atomic transactions
Imagine the following situation: You were asked to create a new wallet feature to an application. This wallet must allow money transfer between users. Basically, …
Data Bugs on Rails
Last Updated on May 30, 2023 Bugs are commonplace artifacts in any kind of software system. Most applications are filled with lots of bugs, for …
Why I moved from Vagrant to Docker as my default development environment?
You probably have already heard that old classic phrase: I don’t know what’s happening… It works on my machine… Vagrant came to solve this problem, …
Avoid to Get Outdated as a Developer
Here at Codeminer we use Ruby and Ruby on Rails as our main technologies, but we also deal with other ones such as Java, Swift, …
Um Rápido Mergulho em Expressões Regulares
Read in english here. Olá. Que tal esquecer um pouco a rotina e a realidade e fazer uma viagem ao interior de sua mente? Descobrir …
Writing custom RailsAdmin actions
Last Updated on May 30, 2023 RailsAdmin is known for not being the most flexible admin framework out there; and while this is true, it …