search for: rubymanual

Displaying 2 results from an estimated 2 matches for "rubymanual".

2006 Aug 18
0
ActiveRecord Benchmarking
...o DBTable.add_new_random end } end The results I see are like this user system total real 8.900000 0.383333 9.283333 (290.029662) which is the output of the Benchmark class (http://rubymanual.org/module/Benchmark) Where does the large difference between the "total" time and the "real" time come from? When this code runs, my Fedora Core 5 workstations is pretty busy (KDE doesn''t respond well); still "top" shows no swapping, mysqld at 10% of proces...
2006 Feb 12
3
Timestamp -> Date
I have a timestamp in a row in my MySQL DB, and I can output the timestamp, but what method could I use to turn the timestamp into the date, like the PHP function date()? Also, can I have the link to any place that lists all RoR Methods/Classes that is not the official one? If no other ones exist, no problem :) -- Posted via http://www.ruby-forum.com/.