Mark Chadwick on 27 Apr 2007 20:25:05 -0000 |
Yeah, if you wanted one application container, AR::Base.connection is stored in Thread.current -- you could check the domain and connect in your application.rb. You're safe (thread wise) by the time Rails hits your app.rb, though if you're doing backgroundrb or any not-single-thread stuff, may God have mercy on your soul. _______________________________________________ To unsubscribe or change your settings, visit: http://lists.phillyonrails.org/mailman/listinfo/talk
|
|