May 15, 2015
You can use a unique index to ensure only one occurance of a value but what do you do if you want to limit uniqueness to two rows instead of one? PostgreSQL's partial indexing can help. read more
May 15, 2015
May 12, 2015
“If I kicked the person responsible for most of my problems, I wouldn’t be able to sit down for weeks.”—D.L. Moody read more
Mar 10, 2014
I needed to loop over a fairly large data set and group it by year and month. In this post I walk through using two Ruby Fibers which communicate between each other in order to do in-loop grouping read more
Feb 12, 2014
An example of how to use the MailChimp API and their official mailchimp-api gem to add a subscriber to a mailing list. read more
Nov 7, 2013
Just some thoughts on how CanCan didn't work as I expected. Whether design or bug, it's worth checking out how modules are handled. read more
May 28, 2013
“If it is I who determine where God is to be found, then I shall always find a God who corresponds to me in some way, who is obliging, who is connected with my own nature. But if God determines where he is to be found, then it will be in a place which is not immediately pleasing to my nature and which is not at all congenial to me. This place is the Cross of Christ. And whoever would find him must go to the foot of the Cross, as the Sermon on the Mount commands. This is not according to our nature at all, it is entirely contrary to it. But this is the message of the Bible, not only in the New Testament but also in the Old Testament.”—Dietrich Bonhoeffer read more
May 3, 2013
A turial on how to use the Highlighting tool in Logos 5 along with a few advanced tips such as how to create a custom higlight style. read more
Apr 23, 2013
“No man is good who thinks that he cannot be better. He has no holiness who thinks that he is holy enough”—Charles Haddon Spurgeon read more
Apr 22, 2013
A thought on how God used the very person who led His people to worship idols as His high priest. read more