Jason Shultz

1080 Posts

A Collection of Random Ideas

I present to you, in no particular order, a collection of random thoughts and ideas. Some may contradict others, some may make...

The Care and Feeding of the JavaScript Set OBject

Set is one of my favorite built-in object types in JavaScript. Today I’ll introduce the Set object and discuss some of its use cases.

Weekend Motivation Feb 21, 2020

With the weekend here, I want you to do one thing for me: Practice loving yourself. That's it. Love yourself. Perfection is...

Rails: Protect Devise when using OAuth

If you're using OAuth and Devise together in an application, you need to remove the Devise Authentication routes and still confirm your model won't...

Ruby: A Kindler, Gentler Flow Control for Beta Sites

When you're working with beta sites, it's commonplace to have <% if else %> blocks in your views for code that shouldn't be seen...

Ruby: Flow Control and Assignment

You'll find that Ruby offers some excellent flow and control and assignment opportunities. What's more, is that it can be flipped right or left...

Ruby: Load Config from YAML if ENV Variables are not set

We are all well aware of the tried and true method of setting your applications variables using ENV, right? Stuff like ENV, etc. is...

Rails: How to get Column Types in ActiveRecord

You can use the columns method to get the types of columns in an ActiveRecord. With that, you can perform functions on the data...

Ruby: Ruby’s String and Regexp Methods

Here’s an impressive example of Ruby’s String and Regexp methods. We’re going to use them to parse a string, and then form an array...

Ruby: Ruby’s String and Regexp Methods

Here's an impressive example of Ruby's String and Regexp methods. We're going to use them to parse a string, and then form an array...

Rails: Multiple Sites (Multisites) in one Web Application

Did you know it is possible to host multiple sites in one web application? It's actually quite easy! The one issue you will run...

How to Remove Duplicate Objects in Javascript and Ruby.

You're get a Two for One tip today! It's only fitting that we talk about removing duplicate objects.You're used to dealing with duplicate strings...

Latest articles

A Collection of Random Ideas

I present to you, in no particular order, a collection of random thoughts and ideas. Some may contradict others, some may make...

The Care and Feeding of the JavaScript Set OBject

Set is one of my favorite built-in object types in JavaScript. Today I’ll introduce the Set object and discuss some of its use cases.

Weekend Motivation Feb 21, 2020

With the weekend here, I want you to do one thing for me: Practice loving yourself. That's it. Love yourself. Perfection is...

Rails: Protect Devise when using OAuth

If you're using OAuth and Devise together in an application, you need to remove the Devise Authentication routes and still confirm your model won't...