Just another Web Developer blog

From the Blog

Apr
20
Posted by Cameron at 9:26 am

The past few months have been a truly busy time for me. I have moved town, started a new job, worked on a few client projects, started playing football again as well as many other things. Throughout this time I kept thinking “I really should blog again”. Well here I am, blogging again. I have a few interesting topics I will be covering over the next few weeks and am looking forward to getting back into the flow of blogging.

Thanks,

Cameron

File uploads is something that is used in Web Applications all of the time. It is becoming somewhat of a “standard” feature in many applications. When using rails, there are a number of ways that this feature can be achieved. Originally, I used attachment_fu and followed a tutorial (which I have since lost) that described how to perform multi-file uploads. This worked wonders. However, attachment_fu has somewhat fallen behind, or perhaps is no longer even supported. I have since started using Paperclip, as it seems to be the most common file upload plugin used for Rails and is very well supported.

The second element of this tutorial is jQuery. jQuery is one of the most popular javascript library’s that is used on the web. Furthermore, it is even easier to use with rails since the upgrade to Rails 3 and the release of the jquery-ujs gem. It only seems natural that someone would want to use Paperclip and jQuery together, and this tutorial shows you how.

(more…)

Oct
05
Posted by Cameron at 10:47 am

It has been two months since I last posted and thought it was time to give an update as to where I am at and what I have been doing. A number of months ago, my partner got offered a position to work in Rockhampton, Queensland. We both grew up in Rockhampton and had been discussing if we wanted to move back after a number of years in Brisbane. After much discussion, she accepted the position and begins work early next year (as she still has a month of study till graduation). (more…)