20 Jun '18

Rails Full-Text Search Form with AJAX

  • 2 Comments

My most popular blogpost, with over 19,000 pageviews in just 18 months, is Create a Simple Search Form with Rails. Nearly all of the traffic (92%) was from...

Read more
8 May '17

How to Add Vue to a Rails 5.1 App

  • 0 Comments

Rails 5.1 makes it really easy to use JavaScript libraries such as Vue. The latest version of Rails provides Yarn support so JS dependencies play nice with the assets pipeline. I haven't seen too...

Read more
4 Oct '16

Using Vue.js as an Alternative to Rails Nested Forms

  • 10 Comments

When I need to handle multiple models in the same Rails form, sometimes I prefer to use Vue.js. When users need the ability to add one or many child associations to a parent model, Vue.js can...

Read more
20 Apr '16

How to Add an Invitation Code to Devise and Rails

  • 3 Comments

Ever wonder how to restrict account sign up to invited guests using Devise and Rails? This easy-to-implement technique adds an invitation code field to the Devise gem's sign-up form, ensuring only...

Read more
25 Mar '16

Importing CSV Data to a Heroku Database

  • 1 Comment

I was recently asked to migrate data from a CSV file to a Heroku database that was already in use for a Rails app. For a couple of years my company was using a Google form as a way for people to...

Read more
30 Dec '15

Automatic Email Notifications for a Rails Comments Section

  • 1 Comment

When I built the comments section for this blog I wanted to include functionality that automatically sent me an email notification when someone left a comment. This tutorial explains how to use...

Read more
18 Dec '15

Automating Jobs with Rails Rake Tasks and Heroku Scheduler

  • 0 Comments

I recently implemented Heroku Scheduler and Rails Rake tasks to automatically make API calls and update data in a side project I have called Power Pol. Rails and Heroku...

Read more
3 Dec '15

Rails Image Management with Paperclip and Amazon S3

  • 2 Comments

If you've ever wondered how to combine Rails, the Paperclip gem, and Amazon S3 for image uploads, processing, and storage, look no further.

I recently deployed a simple Rails app called [To...

Read more
5 Nov '15

Using Markdown for Posts in a Rails Blog

  • 1 Comment

Here is quick tutorial for a Rails blog that allows posts to be written in Markdown.

When I decided to rebuild my static blog website in Rails, I had trouble deciding how to build dynamic show...

Read more
4 Oct '15

Create a Simple Search Form in Rails

  • 15 Comments

This is an easy tutorial for implementing a keyword search form in a Rails app. Often found in a website's navbar, the search form enhances usability and gives a website or app a more polished...

Read more
15 Sep '15

Dynamic SEO Title and Meta Tags in Rails

  • 2 Comments

This is a simple tutorial for setting up dynamic SEO-friendly title tags and meta description tags in a Rails app. If you want your Rails app to follow SEO best practices and play nicely with web...

Read more