Last year, I worked on a project in which I needed to parse and handle large .xlsx files. Some of those files had more than 200K rows. I was looking for a gem that could efficiently do the job.
Observers are a useful mechanism of composition to set up event flows. They are designed for ‘fan out’ communication, in which multiple objects are notified when a single object changes.
This is a question I’ve asked myself months ago, working as a consultant for a client with a quite unique app. Does it make sense to stick with Rails? Maybe it’s a good time to drop it?
Application performance problems can be annoying. With luck, you'll spend an hour or two resolving the problem and get back to your real job: building things. But what happens when the issues start piling up? What happens when "poor performance" becomes the norm?
How to Create Custom Authentication Strategies With Devise and Warden, to avoid the temptation to design your own authentication service, follow the steps in this guide and you’ll be able to use Devise and Warden with any form of authentication.
One does not simply learn to code. Because coding isn’t easy. Coding is hard. Everyone knows that. Anyone who’s scoured a stack trace — or git detached their head — can tell you that.
The primary GOAL of this project is to improve performance in the most heavily used areas of Ruby as path relation and file lookup is currently a huge bottleneck in performance.
Newsletter content curated by Nenad from the Infinum Rails Team