Skip to content

Rodrigo Urubatan – About Code

Helping ruby developers to use the best tools for each job so they can solve hard problems, with less bugs and have more free time.

Menu
  • Home
  • My last presentations
  • About
  • Privacy Policy
Menu

Rails Quick Tip: URL Validation for ActiveRecord

Posted on 2018-08-29 by Rodrigo Urubatan

I did a quick search, and didn’t find an easy way to validate URL fields. I tried writing my own regular expressions but they kept getting more complex every time, and I do not really like to write complex regexps (If I liked it I would be programming in PERL ๐Ÿ˜› ) So I decided…

Read more

How to deploy your dockerized rails app to AWS

Posted on 2018-08-22 by Rodrigo Urubatan

Back to docker and Rails, we’ve talked some time ago about how to dockerise your rails app, using docker and docker-compose to share a development environment configuration. To do that, we’ll use ECS service, that is the Elastic Container Service, this will allow us to build a docker container image, upload it to an ECS…

Read more

ActiveJob and declarative exception handling in your background workers

Posted on 2018-08-10 by Rodrigo Urubatan

Rails 5.2.1 was recently released, and released and it brought some improvements to ActiveJob (most of it was already in 5.1 really, the only thing added on 5.2 was the callback on discard_on), but lets keep in the subject here ๐Ÿ˜€ Recently I published a very basic post about ActiveJob, and these declarative exception handling…

Read more

rails_db – and easy way to add an SQL interface to your Rails App

Posted on 2018-08-08 by Rodrigo Urubatan

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…

Read more

6 Sidekiq tips and tricks for performance, mantainability and happiness!

Posted on 2018-08-03 by Rodrigo Urubatan

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…

Read more

service_status_dashboard – a simple way to monitor your services, without using any external services

Posted on 2018-08-01 by Rodrigo Urubatan

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…

Read more

Do you wanna see tabular data in your rails console? check here to learn how!

Posted on 2018-07-31 by Rodrigo Urubatan

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…

Read more

Are you tired of typing always the same things on Rails console? what if you don’t need anymore?

Posted on 2018-07-28 by Rodrigo Urubatan

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…

Read more

Learn how to make your Rails logs smarter with log_tags!

Posted on 2018-07-26 by Rodrigo Urubatan

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…

Read more

3 simple words you can use to improve your ruby code: ‘redo’, ‘retry’ and ‘next’

Posted on 2018-07-24 by Rodrigo Urubatan

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…

Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next

Recent posts

  • Testing download contents with Cucumber+Capybara and chromedriver
  • When Kubernetes is not the right choice?
  • Rails from “zero” to kubernetes – ingress reverse proxy
  • Rails from “zero” to kubernetes – horizontal autoscaling
  • Rails from “zero” to kubernetes – a service to access your pod

Comments

  1. When Kubernetes is not the right choice? | Rodrigo Urubatan - About Code on Rails from “zero” to kubernetes – first pod
  2. When Kubernetes is not the right choice? | Rodrigo Urubatan - About Code on How to use docker to have an uniform development environment for your rails project
  3. Rails from "zero" to kubernetes โ€“ ingress reverse proxy | Rodrigo Urubatan - About Code on Rails from “zero” to kubernetes – a service to access your pod
  4. Rails from "zero" to kubernetes โ€“ horizontal autoscaling | Rodrigo Urubatan - About Code on Rails from “zero” to kubernetes – a service to access your pod
  5. Jeronimo on 6 Lessons From CrossFit That will help your developer career (Or any other career in the matter of fact)

Arquives

  • June 2021
  • March 2020
  • January 2020
  • July 2019
  • June 2019
  • May 2019
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • February 2018
  • January 2018
  • November 2017
  • August 2015
  • August 2014
  • July 2014
  • August 2007

Categories

  • articles
  • cfp
  • firebase
  • gems
  • git
  • opinion
  • presentations
  • projects
  • rails6
  • server-api
  • Uncategorized
© 2022 Rodrigo Urubatan – About Code | Powered by Minimalist Blog WordPress Theme