Ciaran Morinan·Mar 25, 2021Simulate entire worlds in a Medium postYou can now embed models created in HASH in Medium posts: simply click on the embed (video) button, paste in the link to the model, and…
Ciaran Morinan·Nov 13, 2018MongoDB & Mongoose in Node.js— a quick start guideI recently got to grips with interacting with MongoDB via the Mongoose library in Node.JS. That sentence is more of an ordeal than the…A response icon1A response icon1
Ciaran Morinan·Oct 23, 2018Passing functions as arguments in JavaScript — tips and pitfallsFunctions in JavaScript are ‘first class’, which means they are treated like any other variable — including being passed to or returned…
Ciaran Morinan·Oct 1, 2018Testing your code — test independence, avoiding test clash, and learning from itThis is a short story about a test I couldn’t get to pass and what it taught me about 3 things:
Ciaran Morinan·Sep 16, 2018How to use #each_with_object in Ruby, when to use it , and when not to!I am continually delighted at the methods and syntax in Ruby which allow you to carry out complex operations with minimal lines of code.A response icon1A response icon1