coderSlothHow to Test Web Apps and Sites on Mobile Without Deploying (Access Localhost)Learn how to test your locally running websites and web apps on your mobile devices without having t deploy them, e.g. access localhost!2 min read·Dec 29, 2020----
coderSlothDatabase Constraints, But Why?Many people know why we should use model validations, but why also use database constraints? All this and more (not really more actually)…3 min read·Dec 22, 2020----
coderSlothRails: How to Batch Insert RecordsWe can easily insert records one by one by supplying an array of objects to .create in Ruby on Rails, but each insertion results in a…8 min read·Aug 24, 2020----
coderSlothRails: Creating Multiple Records From a Single RequestCreating multiple entries in a database from a single HTTP request using Rails is easier than it seems. We can even ensure that if one…12 min read·Aug 3, 2020--2--2
coderSlothAuth with JWT: But Why?A wise man once asked me why a developer would choose JWT (JSON Web Tokens) over a traditional session cookie, and I thought, what if I do…20 min read·Feb 5, 2020--1--1