Joshua Paling

My thoughts on moral dilemmas, and dymaxion's final slide at ruby conf au 14 Feb 23 2014

Eleanor Saitta was the closing speaker for RubyConf Australia, and her speech ended something like this: "This conference was very white, and very male. Here's a list of 37 women that you could have invited to speak." (shows slide of names).

Not surprisingly...

read more

Ruby Conf Day 1 Wrap Up Feb 19 2014

Rubyists across the globe will no doubt be flocking to my blog by the millions to read my wrap up of day 1. Not really. But my business paid for my ticket, so I should make some notes or something.

Here's the talks I went to, and the main points I...

read more

Questions About Unit Testing Feb 8 2014

Before I started unit testing, back when I knew it was all the rage but just hadn't got around to learning it, or wasn't sure if it'd be worthwhile for me, I wrote down these questions. It took me a while to get round to it, but I finally wrote answers...

read more

My 2014 Development Goals Jan 31 2014

Here are my goals for 2014. Overall I think they're kinda conservative, but given I've got twin babies, I wanted to set something realistic considering the little free time I have.

I've been developing almost 10 years, but have relatively recently...

read more

Declare your javascript functions as variables Dec 17 2013

Just sharing a quick tip I recieved at the last Ruby on Rails Dev Hub: declare your javascript functions as variables.

Rather than declaring your javascript functions like this:

function sayHello($name){
 alert('hello ' + $name);
}

declare them...

read more

MicroCourses - Helping Newbies & Mentors Get More Out Of Ruby / Rails Events Nov 3 2013

I'm writing down my thoughts after a discussion with @gregmcintyre and others at RailsCamp Sydney regarding how to help newbies get more out of RailsCamp, and other events (eg. DevHub). 'Newbies' mainly refers to people who have had a basic intro through...

read more

Automate MySQL Database Backups with Capistrano Oct 2 2013

I was looking for a way to:

a) Run regular MySQL database backups, keeping eg. daily copies for the past week, monthly for the past year, etc.

b) Backup the database prior to each capistrano deployment, and download a copy of the backup to my own...

read more

CakePHP - Catching integrity constraint violations when deleting records Sep 30 2013

In a CakePHP app, if you've done the right thing and defined your Model associations at the database level (ie, if you've added foreign key indexes to all the relevant fields in every table), then you might come across errors when deleting records...

read more

Custom Repository not found by Composer Sep 23 2013

Using these instructions, I was trying to use my own custom repository with composer. I had forked the package kamisama/cake-resque to my own github account and was trying to include my own version in my project.

Here's a simplified version of my...

read more

How to show latest products in Spree Sep 10 2013

For a spree project I'm working on, I needed a latest products page. Since I'm new to spree/rails, it took me a while, but it's super easy once you know how. Here's how it's done, for any other newbies wanting to display most recent products in spree...

read more

Prev | Page 3 of 5 | Next