Tutorials
A new way to understand your Rails app's performance - Justin Weiss
Is your Rails app slow?When it takes seconds to load what should be a simple view, you have a problem worth digging into.You could have too many database calls or some slow methods. Or maybe it’s that speedup loop someone put in your code and forg...
Using Cloudfront CDN to reduce asset delivery time from 30 seconds to 3 seconds | BigBinary Blog
AceInvoice, one of BigBinary’s products, was facing high page load times. AceInvoice is a React.js application, and the size of application.js has gone up to 689kB compressed. Folks from India would sometimes have to wait up to 30 whole seconds fo...
Adding Authentication in Rails 6 with Rodauth | Janko's Blog
In this tutorial, we’ll show how to add fully functional authentication and account management functionality into a Rails 6 app, using the Rodauth authentication framework. Rodauth has many advantages over the mainstream alternatives such as Devis...
Rails 6.1 adds values_at attribute method for Active Record
Rails 6.1 simplifies retrieving values of attributes on the Active Record model instance by adding the values_at attribute method. This is similar to the values_at method in Hash and Array.Let’s check out an example of extracting values from a Use...