The Rails Way

Users and Passwords

August 2, 2009
By Koz at The Rails Way - Home

Last week I lost several productive hours resetting my ‘insecure’ password on several websites due to a security breach at a website I haven’t used in more than a decade, if you’ve ever used that site, you’d be well advised to ch...
Read more »

Tags: ,
Posted in Publishers, The Rails Way | Comments

Do it Later With Delayed Job.

July 22, 2009
By Koz at The Rails Way - Home

As I mentioned in the post on managing file uploads, the most common cause of an unresponsive rails application is having some long-running requests consuming all your rails processes. For managing uploads and downloads you can off-load t...
Read more »

Tags: ,
Posted in Publishers, The Rails Way | Comments

Taking Things Too Far: REST

June 21, 2009
By Koz at The Rails Way - Home

I’m going to put up a few posts based on a talk I gave at RailsConf ‘09 in Vegas and RailsWayCon in Berlin. Sorry for the delay in updating but I wanted to deliver the talks before posting here.There’s...
Read more »

Tags: ,
Posted in Publishers, The Rails Way | Comments

Updates

June 21, 2009
By Koz at The Rails Way - Home

Just a few quick updates about what’s going on around here.SponsorshipNew Relic have generously been sponsoring this site for a few months now. I’ve been a user of their RPM product for a while now and recommend it to all my...
Read more »

Posted in Publishers, The Rails Way | Comments

Uploading Files

April 23, 2009
By Koz at The Rails Way - Home

Anyone who’s built a rails application that deals with large file uploads probably has a few horror stories to tell about it. While some people love to overstate the issues for their own purposes, it’s still something that can be quit...
Read more »

Tags: , ,
Posted in Publishers, The Rails Way | Comments

Controller Inheritance

April 6, 2009
By Koz at The Rails Way - Home

Just a brief interlude from the File Management series while I sort out some time to do some benchmarking.A common pattern I see in submissions and client-applications is repetitive declarations in controllers. There’s a neat and si...
Read more »

Tags: ,
Posted in Publishers, The Rails Way | Comments

Storing Your Files

March 15, 2009
By Koz at The Rails Way - Home

This is the second article in my series on file management, the third article will cover the challenges of handling uploads then we should be able to move on to some more advanced topics.The second problem you’ll face when building a...
Read more »

Tags: , , ,
Posted in Publishers, The Rails Way | Comments

File Downloads Done Right

February 21, 2009
By Koz at The Rails Way - Home

Getting your file downloads right is one of the most important parts of your File Management functionality. A poorly implemented download function can make your application painful to use, not just for downloaders, but for everyone else t...
Read more »

Tags: , ,
Posted in Publishers, The Rails Way | Comments

File Management

February 11, 2009
By Koz at The Rails Way - Home

One of the most common features for web applications I’ve built over the last 4 years doing rails is file management. Users download file attachments in almost every web application I use. Thankfully rails has a really capable suite of...
Read more »

Tags: , ,
Posted in Publishers, The Rails Way | Comments

Requests Per Second

January 6, 2009
By Koz at The Rails Way - Home

One of the most harmful things about people discussing the performance of web applications is the key metric that we use. Requests per second seems like the obvious metric to use, but it has several insidious characteristics that poison t...
Read more »

Tags: , ,
Posted in Publishers, The Rails Way | Comments