Category Archives for Ruby on Rails

PostgreSQL Copy to/from feature

While completing an interview coding challenge recently, I learned of a feature in PostgreSQL that allows one to load large amounts of data into a PostgreSQL database. Sometimes, you get a request to seed

Continue reading

Facebook Authentication for Rails APIs

I’ve implemented Facebook login plenty of times on the Android side of things but I have never implemented on on the API side. Granted, yes, I’ve implemented Facebook OAuth when building Ruby

Continue reading

How to install Ruby on Rails

I recently had to walk through a client on how to install Ruby on Rails on his machine. It made me realize that it’s not exactly a straightforward process. I’ll go over how to install Ruby

Continue reading

API key authentication with Rails

I recently completed a code challenge where part of the challenge was to build an API that authenticated a request via an API key. I’ll go over the basics of implementing this in this blog post. Even

Continue reading

Single source of truth in data

This post is about something I learned in one of my client projects a few years ago. Single source of truth in Wikipedia is defined as: … the practice of structuring information models and associated

Continue reading

System Tests in Rails 5.1 is awesome

System tests were announced for Rails 5.1 a few months ago. Plethora of blog posts were written about this topic but I’m still going to write about it due to how much it improved my testing life. For

Continue reading

Managing localization in Rails

In large applications, managing localization files can become a behemoth of a task, especially if you’re working with external translation teams who will be providing you with proper translations

Continue reading

RubyC 2017 – Kiev Thoughts

I’m still in Kiev, Ukraine right now and I had the opportunity to attend RubyC 2017 conference over the weekend. Despite having written Ruby professionally for a few years now, this was

Continue reading

Easy way to speed up your automated tests

Just a note before we start, this will be a Ruby on Rails centric post with code samples in written in Ruby. However, the concepts in this post can be applied to any tech stack, whether that would be Laravel,

Continue reading

Migrating paperclip attachments

In web development, sometimes you have to perform data migrations that involve migrating file attachments on existing models onto new models. I recently had to do this on a client project and I’ll

Continue reading