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…
Month: June 2018
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…