Sometimes you just want a Query interface for your app database and in the machine you are working you do not have anything similar to MySQLWorkbench or the uglier pgAdmin for postgres (I prefer the postgres database, but pgAdmin is still really ugly) Or you are completely crazy and want to expose your database in…
Author: Rodrigo Urubatan
6 Sidekiq tips and tricks for performance, mantainability and happiness!
This is a very opinionated post, with some performance tips from someone that uses sidekiq for more than two years now, as as such I have already did some mistakes and learnt some tricks. My current opinion is that sidekiq is the best backend job engine for ruby/rails applications. And of course to use it…
service_status_dashboard – a simple way to monitor your services, without using any external services
There are a lot of server monitoring services around, but sometimes you need to keep the things simple, for a number of reasons, for example: your infrastructure is too simple to pay for a more complicated service You just need a “ping” to know when your http server is responding you already have an “elastic…
Do you wanna see tabular data in your rails console? check here to learn how!
Have you ever thought about how Rails console was not built for you to read the results of a query that returns more than one object? So, you are not the only one, and that is why there is a gem called ‘hirb’ that will blow your mind, it will make pretty tables of the…
Are you tired of typing always the same things on Rails console? what if you don’t need anymore?
After you spend some time working in the same Rails project, being this project whatever project you are working for some time now, you probably use the Rails console a lot, many reasons: Testing code Seting up data Using “binding.pry” to “debug” some controller or model Put whatever you are doing in “rails c” now…
Learn how to make your Rails logs smarter with log_tags!
When you look at the logs of your application in development, they may appear clear and concise to you (probably not thou), but when you are looking at the production logs and there are many simultaneous requests, sometimes it is difficult to know exactly what like of the log is the next entry, or what…
3 simple words you can use to improve your ruby code: ‘redo’, ‘retry’ and ‘next’
As programmers we usually select our preferred tools, our preferred language, IDE, code editor, … For the last years, my favorite programming language is Ruby, not only because of Rails (but of course it has something to do with it), but because the language is powerful and flexible, and as such has many details that…
5 easy steps to implement JWT (Javascript Web Token) authentication for your API Only Rails apps
If you are writing an API only rails app, your clients will need to authenticate in some way to use your API, you have of course many options to choose from: You can build your own authentication You can Use a plugin like Devise You can use OAuth both accepting other provider or implementing your…
July open Call for Papers – use your weekend to submit some talk proposals!
Every now and then I remember a work mate from long ago asking how I was able to speech in many events in Brasil, and my answer was as simple as: “When they open the call for papers, I go there and ask if I can talk in the event, sometimes they say Yes” And…
Check the videos from my presentations at The Conf 2017 and RubyHACK 2018 – And a free Book!!!!!
One thing that I always wanted was to present a speech in an event outside Brasil, this objective was accomplished this year, thanks a lot RubyHACK team for this, and alto thanks a lot TheConf.Club, because last year’s event in São Paulo made me believe I could do a presentation in English. I’m Brazilian and…