I would agree with Stefano. I doesn't look like an issue with sub and sub! to me. I ran into something similar with my webapp. For me, it was because I didn't call database.commit() after my update statement. -- Posted via http://www.ruby-forum.com/.