Image for post
Image for post
Photo by rawpixel on Unsplash

Back in 2018 I was finishing my graduation in Computer Science, and for my graduation final project I decided to work with transparency in governments, specifically with the Chamber of Deputies open data.

Here in Brazil, our deputies have a monthly quota to perform their job. Let’s say that some deputy needs to buy a flight ticket or buy gas to the car in order to go to a meeting, he or she can use this monthly quota to do that. However, this money is public, therefore there are some rules to use it. …


Image for post
Image for post

A few months ago, I was handed the task to perform a massive update on some amount of data here in Creditas. As a “rubyist” I tought: “Ok I will simply build a ruby script to read the CSV that operations gave to me, and perform the updates”. Simple task, right?

It is, but if you think about it, with that approach I have to waste time writing the script, testing locally or in staging environment (scripts has bugs too!) and finally set up everything in production to run the script. …


Image for post
Image for post

Here at creditas we love Ruby. We have squads working with both Ruby on Rails and Hanami. When we are developing a web application using a framework, such like RoR, we find ourselves discovering lots of new features that the framework give to us, for exemple: ActiveRecord Validations and Migrations, ActiveModel Serializers and Callbacks, and the list goes on.

A few weeks ago we found ourselves with a requirement to produce eleven digits random numbers. As we searched for some solutions we discovered the ‘SecureRandom’ module, inside the Ruby standard library. …

About

Gabriel Mesquita

Computer Scientist, Software Developer, gamer and other stuff…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store