Skip to main content

Posts

Rails Routing: Advanced Constraints for User Authentication without Devise
·431 words·3 mins
Application Development

Many times we mount engines and restrict access to admin users via Devise. In this post, I’ll show you how to do the same when using a different authentication mechanism.

Running MNT Reform OS on an NVMe Disk
·1107 words·6 mins
Hardware

Running the MNT Reform 2 from an SD card is not a bad solution. It’s similar to the way a Raspberry Pi is run. However, I wanted to free the SD card slot. In this post I describe the whole process from picking and buying an NVMe SSD, to installing and configuring it.

MNT Reform 2 DIY Kit Review
·1803 words·9 mins
Hardware

The MNT Reform 2 laptop was made available on Crowd Supply in June 2020. This review is for the DIY kit version, and I’ll focus on the experience of supporting this project and its vendor through crowdsourcing, the process of putting the machine together, and my first impressions. I plan to share a second post with my thoughts on the experience of using the device as my computer for personal use.

JSON Data Type
·450 words·3 mins
Application Development

Whenever we save data from one of our Rails models, each attribute is mapped one to one to a field in the database. These fields are generally of a simple type, like a string or an integer. However, it’s also possible to save an entire data object in JSON format in a field. Let’s see an example of how to do this from a Ruby on Rails application.

Using a Hackathon to Stress Test Your Development Process
·666 words·4 mins
Development Process

A hackathon’s value proposition is generally one of innovation. Companies see these events as an investment to come up with new products. However, I recently found out they are also a great way to teach us about existing flaws in our software development processes.

ActiveRecord Except
·375 words·2 mins
Application Development

August 19 was Whyday, and to commemorate it, I decided to write a gem called activerecord-except.

Vortex Core Mechanical Keyboard Review
·770 words·4 mins
Hardware

I got myself a new keyboard for my birthday, the Vortex Core. I wanted a mechanical keyboard that I could take everywhere with me. Being a 40% keyboard, I expected it to over deliver on the portable side, what I didn’t expect, is that I’d enjoy using this tiny keyboard so much, even for extended periods of time.

Running a Patched Ruby on Heroku
·660 words·4 mins
Plataforms

You use a PaaS because you want all the underlying infrastructure and configuration of your application to be hidden from you. However, there are times when you are forced to look deeper into the stack. In this article I want to share how simple it is to run a patched version of Ruby on Heroku.

Ruby's DATA Stream
·285 words·2 mins
Programming Languages

The STDIN and ARGF streams are commonly used in Ruby, however there’s also the less popular DATA one. This is how it works and some examples in the wild.

Numbered Parameters in Ruby 2.7
·654 words·4 mins
Programming Languages

A new feature called “numbered parameters” will see the light of day in the Ruby 2.7 release at the end of the year. What caught my attention was not the feature itself but the mixed reception it got from the community.