I actually managed to make a Second Life object add a row to a database via a Rails application. This is either progress or madness, I'm not sure which.