search for: some_tim

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

Did you mean: some_time
2007 Aug 29
5
Undefined method stub
...ts'': undefined method `stub'' for nil:NilClass (NoMethodError) from test8.rb:5 What could be the reason? I tried with the latest Mocha Ruby gem, and I also tried it with the Rails plugin. The example: require ''rubygems'' require ''mocha'' some_time = Time.at(0) Time.expects(:now).returns(some_time) puts Time.now -- Felix E. Klee Jabber/Google Talk: feklee at jabber.org, SIP: 9779619 at sipgate.de ICQ: 158124695, Yahoo!: feklee, AIM: felix.klee at inka.de Gizmo: felixklee, Skype: felix.klee
2006 Jan 21
4
Migrations and Time datatype. Bug?
I''ve defined a table with these columns t.column "some_date", :date, :null => false t.column "some_time", :time, :null => false The result in schema.rb is t.column "some_date", :date, :null => false t.column "some_time", :time, :default => Sat Jan 01 00:00:00 GMT Standard Time 2000, :null => false The time column generates a default I didn''t ask for....
2008 Mar 21
26
mongrel garbage collection
Sorry, for the re-post, but I''m new to the mailing list and wanted to bring back up and old topic I saw in the archives. http://rubyforge.org/pipermail/mongrel-users/2008-February/004991.html I think a patch to delay garbage collection and run it later is pretty important for high performance web applications. I do understand the trade-offs of having explicit vs. implicit garbage