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

Tag: ruby

How to create a request scope for your rails application

Posted on 2019-06-06 by Rodrigo Urubatan

Some time ago I missed one of the cool features from the time I worked with JavaEE, that was a request scope for some variables.
I know the instance variables on controllers do a great job simulating it, but I needed to access context in a completely different part of the application, that wasn’t always called from controllers, variables that should be scoped to that request.
So I thought, I could create something like that for my rails app.

Read more

Implementing authentication with Google Firebase and Rails 6.

Posted on 2019-05-30 by Rodrigo Urubatan

Google has loads of services, and Firebase is one of my favorites because it provides lots of easy to use services that help me write one app for web and mobile. Today I’ll do a quick sample of how to use the authentication service from Firebase in your rails application. Most of it is javascript…

Read more

ActionText – the new rails WYSIWYG editor framework

Posted on 2019-05-28 by Rodrigo Urubatan

https://edgeguides.rubyonrails.org/action_text_overview.html In many projects we have the requirement to have a rich text editor available, for full documents, user profiles, blog posts, comments, product descriptions, … And every time we think, which editor to use, some times we just get our current favorite, or the one we used in the last project, in my case…

Read more

Three things that make a senior Ruby developer (and how to get there)

Posted on 2019-05-25 by Rodrigo Urubatan

This is a very opinionated post, dealing mostly with what I think makes a senior developer, the main focus will be Ruby because that is my main language today, but most of the things I’m commenting here are completely independent of programming language. Probably lots of people have a different idea of what is a…

Read more

Beware of rails default_scope – it might come back to bite you

Posted on 2019-05-23 by Rodrigo Urubatan

Beware of default scope, most of the times it appears to be helpful, it will just be causing you hidden bugs to deal with later

Read more

What do you need to know to put your app in production in Ruby, Python, .NET, Java, …

Posted on 2018-09-14 by Rodrigo Urubatan

Ok, this is just my opinion, and if you are a junior developer you do not need to know how to put anything in production, but it is your responsibility to learn before you get promoted to anything else than Junior. And I’m not talking just about Ruby developers here, any developer that is not…

Read more

Have you ever needed to provide an “advanced search” to your users?

Posted on 2018-09-05 by Rodrigo Urubatan

Working on a project some time ago, and my boss wanted to have an advanced search, where the users could write the search, adding fields, values, like you can do with google, but tailored for our application. In google you can do things like searching for all posts from sobrecodigo.com that have Ruby in the…

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

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

3 common problems of rails application deployments (or any platform really, these problems happens to everyone)

Posted on 2018-05-08 by Rodrigo Urubatan

Rails is a really cool framework to work with, but it is not fall proof, and it will not prevent you from doing stupid things, having that said, even with the best tools available, putting a new software in production, or doing a significant upgrade to a software that is already in production is always…

Read more
  • Previous
  • 1
  • 2

Recent posts

  • Why Embrace Nesting in Ruby Modules?
  • An easy way to have a local “Github Copilot” for free
  • SPA without touching Javascript – The magic of Ruby on rails and Hotwire
  • I see Dead Jobs everywhere (sidekiq DeadSet)
  • Quick tips that help: rails notes

Arquives

  • May 2024
  • April 2024
  • February 2023
  • January 2023
  • December 2022
  • 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

  • AI
  • articles
  • cfp
  • firebase
  • gems
  • git
  • opinion
  • presentations
  • projects
  • rails6
  • ruby
  • Sem categoria
  • server-api
  • tutorials
  • Uncategorized
© 2025 Rodrigo Urubatan – About Code | Powered by Minimalist Blog WordPress Theme