search for: ddudde

Displaying 3 results from an estimated 3 matches for "ddudde".

2006 Mar 04
16
Unacceptibly slow.
I currently have a fairly simple Rails application running on FreeBSD under Apache 1.3 and normal CGI, and the performance I''m getting is alarmingly poor. I realize CGI or WebBrick are quite a bit slower than FastCGI, and I''ll probably use one of those instead when I have the time. However, I''m just curious if CGI is really supposed to be that slow, or if
2006 Feb 28
6
Activerecord equivalent of the SQL "SUM()" function.
Search doesn''t seem to be working, so forgive me if I''m covering old ground here, but I''m having a difficult time figuring out how to implement a "SUM()" function using Active record. Obviously, I could just create a query, but I''d rather make it part of my active record object. Basically I have an object called "Report <
2006 Feb 28
1
Updating only some of the fields of a table.
It''s not clear to me how to save data to only some of the fields of a table. To update individual fields I can do something like this: @foo = Foo.new @foo.bar = "hello!" @foo.anotherbar = "hello again" @report.save However what if I only want to save the field "anotherbar" and don''t want the final insert or save query to contain the field