Dynamically create methods and scopes in Rails

The active record models with the status columns generally indicate that there are different states that the model can be in. And usually, when there are status columns within a model, it’s common

Continue reading

Ruby Safe Navigation Operator

I’ve been working on a new codebase lately and have been seeing an operator that was unfamiliar to me. It is Ruby’s Safe Navigation Operator. It looks like this &. chained by subsequent

Continue reading

Paying off technical debt vs not

I have been working on a Rails application as a freelance contractor for about a month now. The gist of the project is this. Take an existing Rails application that’s live in production, and morph

Continue reading

Build RSS feeds with Rails

I started a new position at a company called Modern Message last Monday. I’ll cover how to build RSS feeds in the Rails framework in this post. One of my first tasks was to build a integration with

Continue reading

Random fitness rant

Earlier this year, I had this goal of being able to squat and deadlift 315lbs while maintaining my current weight of 142lbs. That goal might seem pretty easy for a lot of people, but you see, I’m

Continue reading

Navigating with BottomNavigationViews

You know those BottomNavigationView’s that are more commonplace in Android apps these days? Recently, I’ve been building a small sample app for a PluralSight course I’m working on that

Continue reading

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

Thinking before coding

I’ve been recently working more often on personal projects. Being a developer that I am, I have a tendency to think that if I am not actively writing code, then I am not working. The thing is, when

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

Dependency Injection with Dagger 1

Note: This blog post will be more geared towards Dagger within the context of Android development. I think the terms that software developers use to describe certain concepts makes simple things seem way

Continue reading
1 2 3 7