Understanding Shrine (The File Uploading Gem)

Shrine has a unique and different architecture. If you want to use the gem with any degree of sophistication, or peek under the hood, you might have some trouble following what is going on. This blog post, will hopefully be an effective panacea for that ailment.

Read More

Getting started with Sequel in Rails

I suppose one of the reasons why sequel in rail isn’t as popular as Active Record is that, that ORM decision is made for you out of the box with rails. I suppose, in the end, it doesn’t matter too much. BaseCamp seems to be doing just fine with ActiveRecord, and is immensely profitable, given its costs and scale, as are many other organisations using it. But if you want to push the boundaries of performance, then perhaps you can try Sequel. I would even bodly venture to say, if all the hype regarding Sequel is genuine and to be believed, and if a magical wand could be waved, it would replace ActiveRecord.

Read More