[Wee-talk] Patch: wee-0.9.0 og/session.rb to work with recent Og

Aleksi Niemela Aleksi.Niemela at cs.helsinki.fi
Wed Jul 13 16:27:17 EDT 2005


I believe Og API changed at some point 0.19.0 or so. This seems to work 
for me against Og 0.20.0.

    - Aleksi


$ diff -u session.rb~ session.rb
--- session.rb~ 2005-07-12 18:54:59.581125000 +0300
+++ session.rb  2005-07-13 23:22:28.346750000 +0300
@@ -1,9 +1,9 @@
 class OgSession < Wee::Session
   def awake
-    application.db.get_connection
+    application.db.get_store
   end

   def sleep
-    application.db.put_connection
+    application.db.put_store
   end
 end



More information about the Wee-talk mailing list