Old Guy New Trick

An old guys journey to learn how to code.

Summary of all published posts

Title Summary Created Last Modified
Improving on a working solution. While we were working on some optimizaitons, we came across code that appeared to be duplicated in one of our view models.  In the view model we were setting up instance variabl... 2016-01-26 18:13:22 UTC 2016-02-11 19:23:33 UTC
Hitting the Links... Recently I was tasked to fix the printing on one of our views where the bidder can print the results for a round of bidding.  When the user went to the results view and clicked ... 2016-01-13 00:27:12 UTC 2016-01-13 00:33:17 UTC
Cover Your Private Parts Just before Christmas, while working on a feature, I encountered a privacy issue.  No, not personally, but Ruby was shoving the "Private, Keep Out" sign in my face.  Along my jo... 2015-12-29 16:23:56 UTC 2015-12-29 16:54:12 UTC
Get a Job, a Cron Job... UPDATE: I found an error when I went back to confirm my cron job was properly backing up the postgres database.  The entry in the cron file was missing the escape character (\) ... 2015-12-21 16:30:12 UTC 2016-01-05 17:30:17 UTC
Backup Remote DB & Restore It To Your Dev Env Over the past month or so I have deployed my FlexBlogr Ruby on Rails based blogging application to a Virtual Private Server (VPS) hosted by Digital Ocean.  I've migrated all of ... 2015-12-08 20:00:12 UTC 2015-12-13 16:25:36 UTC
Do a Little Dance, Squash a Bug, Refactor-O This week I had to work on a bug reported by QA.  Just a little background.  For this application, bidders can do a one time bulk upload of their bids.  We provided a comma deli... 2015-12-08 12:56:01 UTC 2015-12-09 01:01:58 UTC
Update To The OGNT.io (Old Guy New Trick) Site If this is your first time here, welcome!  If you are a return visitor, thank you for stopping by and welcome back!  After migrating my content from the old home of www.oldgu... 2015-12-04 19:43:05 UTC 2015-12-04 19:55:24 UTC
Fixing stuck pages (pagination) I’ve used the will_paginate gem on several projects.  While migrating my posts from the old website to this new one, running my FlexBlogr engine, I discovered a problem.  The pa... 2015-12-03 19:52:01 UTC 2015-12-04 00:30:42 UTC
Keep this cat in the bag Today I'd like to talk about a handy command line tool that I find myself using frequently.  Especially since I seem to be learning a lot of new things, and my memory recall nee... 2015-12-01 12:31:24 UTC 2015-12-06 19:47:39 UTC
Clean up your code Today I'd like to share two examples of my initial code, and then how I refactored that code.  The first example I worked out on my own, and the second was hinted to me by my co... 2015-11-24 12:57:24 UTC 2015-11-29 21:26:46 UTC