How 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!Dec 29, 20201Dec 29, 20201
Database 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)…Dec 22, 2020Dec 22, 2020
Rails: 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…Aug 24, 2020Aug 24, 2020
Rails: 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…Aug 3, 20202Aug 3, 20202
Auth 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…Feb 5, 20201Feb 5, 20201