Better login forms without security risks

It goes without saying that good login and registration forms are essential to providing a great user experience. However, more often than not, various implementations trade-off good UX for security assumptions that are out of place. Let’s take a look at 3 easy...

Learn to Work with Time Zones in Ruby on Rails

Learn to Work with Time Zones in Ruby on Rails Rails provides great tools for working with time zones but there’s still a lot of things that can go wrong. This blog post aims to shed some light on these gotchas and provide solutions to the most common problems. The...

Cable got buffer, Callbacks Stripped, and more!

Featured This Week’s Multiplanetary Contributors 22 contribunauts came aboard the contributor list this week with their precious commits harvested for the good of all. You’ve earned this heart of gold: 💛 Action Cable buffers socket writes Quoting the description:...

How to Make your Next Rails Upgrade Easier

If you’re a Rails developer, you know all about upgrading apps from one version to another; it’s part of the job. These upgrades can range from simple gem version bumps of 4.2.5.2 to 4.2.6, to nightmarish leaps from 3.2 to 4.1. Those latter upgrades are...

More Class Loading Adventures

I was working on upgrading a library in a Rails 4.1 application. It was a big-ish upgrade; 17 version bumps and more than 2 years since that gem had been upgraded. Things were proceeding along well until I ran the test suite and, when instantiating one of the classes...

Interactors in Rails

Interactors in Rails About what? – Interactors. Well anyway. You better tell me which tribe you are in: sharp-pointed or thick-headed? In other words, do you prefer skinny models or skinny controllers? That’s a mean thing, indeed, to ask incorrect question...