Monthly Archives: May 2010

Logging activity within a Rails application

I wanted to add a tool to log users’ activity in my current application. I wanted something simple, and decided that the solution was to combine two techniques: One: making session data available at the model and observer level. An … Continue reading

Posted in Ruby | Comments Off on Logging activity within a Rails application

attachment_fu – working with database file storage

Once I had attachment_fu working with files stored within the Rails application file system, I hit a problem as I wanted to be able to share files across three applications. The problem being that if the file was uploaded in … Continue reading

Posted in Ruby | Comments Off on attachment_fu – working with database file storage

Unit testing attachment_fu

I’m working on a portion of my latest application that will need a facility to upload files. As these files are not images, I decided to use the plug-in attachment_fu. The thing that has caused me the most head scratching … Continue reading

Posted in Ruby | Comments Off on Unit testing attachment_fu