Great question (or rather, great answer) here
read moreI came across an issue where the server would send email fine, except if it was sending the email to the same domain as the website it was being sent from (eg. sending from the www.clientsdomain.com.au website to info@clientsdomain.com.au or similar...
read moreRubyists 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 moreBefore 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 moreHere 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 moreJust 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 moreI'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 moreI 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 moreIn 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 moreUsing 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