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…
Author: Rodrigo Urubatan
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…
Do you know that idiot that used all the server space with the production.log file? don’t be that guy!
It is surprisingly easy to configure log rotate to rotate your rails logs, don’t wait until your server is out of space. I think everyone knows a guy that simply put a rails app online, maybe even used capistrano to automate the deployment, and one year later the app simply stopped working due to lack…
Background on Rails – why do you need to learn all the background job APIs?
Rails has a new library called ActiveJob, the idea of this library is to make it easier to create background jobs without worring about what library to use, and the specific API for each one, and even changing it if a better one comes out in the future without changing your application. ActiveJob will keep…
6 reasons to stop using REST and start using GraphQL
Following up the post about a Rails API only app, lets talk about why you should not use REST in your API app. 1: too much unneeded information Have you ever written a client application to any API? And when you did it, was there a query you needed to do that returned a lot…
API only app? use rails and be happy!
Sometimes we need to create only an API, an application without a user interface, for example if you’ll have someone else built later a mobile client for that API, or even a full SPA web client, there are many reasons to build an API only app. And since there are that many reasons, rails helps…
How to use docker to have an uniform development environment for your rails project
Lets say you work on a company, and there is more than one developer at the company, and sometimes other developer is hired and need to configure the development environment. Or maybe you work on an opensource project and you want to make the life of anyone that is contributing to the project easier. Or…
Quick and Dirty introduction to ActionCable – the best WebSockets for Rails!
This post is a followup and a translation of my presentation from “The Developers Conference Florianopolis 2018” What are WebSockets good for? Update the screen of many clients simultaneously when the database is updated Allow many users to edit the same resource at the same time Notify users that something happened Among many other things….
3 common problems of rails application deployments (or any platform really, these problems happens to everyone)
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…