March 7, 2018 by Daniel P. Clark

Micro Backups of Your Git Dev Work

When writing software there are many times where we try out changes to see what occurs.  Sometimes this will bring us to bugs in projects that we depend on and depending on the issue we may simply work around it.  When this happens it’s very likely that the non-working code isn’t committed to a software…

Continue Reading »

May 13, 2015 by Daniel P. Clark

Rails: Don’t “pluck” Unnecessarily

Using pluck in Rails is both quick and efficient.  But there are cases where it’s not what you want to use.  For example if you’re selecting all users who have contacts, you might see something like this.

Rails’ where method allows for Arrays of items for lookup so the above code might turn into…

Continue Reading »

February 14, 2015 by Daniel P. Clark

Use the given project generators

Rails Before I started using Rails I was the guy who would type out web projects by hand… I was accustomed to it.  I knew what I was working with all the time simply because I wrote it.  When I had started reading the docs on Rails I was trying to learn it in this…

Continue Reading »