Dwight Watson's blog

A blog about Laravel & Rails by Dwight Watson;
developer of Roomies.com, myRent.co.nz & StudentVIP.com.au.

Follow me on Twitter, or GitHub.

This is incredibily obvious in hindsight, but I recently realised a mistake I had been making when trying to share data across all the views…

Today Laravel shipped v5.8.15 which comes with a great improvement for configuring your database connections - especially on platforms like…

For the new Roomies.com we've decided to try and adopt the native date input. At the moment this would support 90.17% of our users in the…

When setting up a PHP app on Heroku the default configuration is to use Apache. It's simple to get going and customise through the file…

ActiveStorage is new in Rails 5.2 and it provides an integrated way to handle file uploads. It can store files on a cloud provider of your…

I currently work on a 5 year old Laravel app. The first commit was back in June 2013 just as Laravel 4.0 had been released. Since then it…

Heroku is a great platform for getting your web apps up and running without having to worry about infrastructure. While it is more generally…

Laravel recently introduced a number of query builder helpers for writing where clauses that act upon dates. There's a whole host of them…

Sometimes it makes sense that you'll want to generate links back to your app from components of your app that don't have access to Rails…

Many Laravel developers will build their front-end assets locally before deploying a new release and the framework ships out-of-the-box to…