ming-ruby question333 (12/13/2004 12:16:53 PM) comp.lang.ruby Hello everyone, I would like to capture of Ming-Ruby in a Ruby String/StringIO. I tried the following w/o success: tmp = $stdout flash = $stdout = StringIO.new m.output $stdout = tmp The low level C output m... George
Syntactic sugar for common idiom131 (12/6/2004 10:21:31 AM) comp.lang.ruby Hello everyone, the following idiom is very useful: module MyModule def self.append_features(base) super; base.extend(ClassMethods) end module ClassMethods def a_class_method puts 'class' end e... George
Use yaml to store Ruby arrays or hashes in the DB?625 (10/27/2004 12:07:00 PM) comp.lang.ruby Hello everybody, the current version of NDB stores Array/Hash/GeneralRubyObjects using the Marshal.dump/load methods. This is relatively fast but not portable. Ie it is difficult to use the database from an ap... George
[ANN] Nitro 0.1.2232 (10/21/2004 7:37:34 AM) comp.lang.ruby = Nitro Nitro is an efficient, yet simple engine for developing professional Web Applications using the Ruby language. Nitro aims to provide a robust infrastructure for scalable web applications that can be di... George
Help with RDoc error333 (10/18/2004 1:56:04 PM) comp.lang.ruby Hello everyone, I am trying to generate RDoc documentation for a little project of mine. I get the following error though: Generating HTML... /usr/local/lib/ruby/1.8/rdoc/code_objects.rb:318:in `find_symbol':... George
[Q] Postgres bytea columns and Marshal load056 (10/11/2004 9:48:27 AM) comp.lang.ruby Hello everyone, I have a table with a 'bytea' column in Postgres: CREATE TABLE my_tab { objectdump bytea } I Have an array wich i want to dump in this column: a = ["Hello", "World"] data = Marshal.dump(a) ... George
[Q] case based on object class1329 (10/11/2004 9:35:08 AM) comp.lang.ruby Hello everyone, I wonder if there is a more elegant/efficient way to rewrite the case structure in the following code snippet: def myfunc(obj) case obj.class.name when Fixnum.name ... George
FastCGI and threads529 (8/16/2004 6:34:00 AM) comp.lang.ruby Somewhat related to the earlier post: Some time ago another ruby user tried UNSUCCESSFULLY the following code: FCGI.each do |fcgi| Thread.new(fcgi) { |f| f.out.print "Content-type: text/html\r\n\r\n"... gm
Apache threaded MPMs and Modruby 1.2.2030 (8/16/2004 6:10:52 AM) comp.lang.ruby Hello everyone, I was wondering if anyone is successfully using mod_ruby with the threaded MPMs of Apache2. I can find any configuration examples, if anyone could provide some pointers I would be grateful! th... gm
Macros in Ruby6744 (8/2/2004 9:14:13 AM) comp.lang.ruby Hello everyone, one of the features of the LISP family of languages that is missing from Ruby are macros. I think they are useful on a lot of occasions so I would like to see Ruby support macros in the future.... George
[ANN] Needle 1.0.0925 (11/4/2004 3:04:59 PM) comp.lang.ruby Needle is a dependency injection (a.k.a. "inversion of control") container for Ruby, employing many of Ruby's best idioms to make dependency injection and service location fast, friendly, and fun! It has nev... jgb3(460)
Ruby Application Server?442 (11/5/2004 10:35:15 AM) comp.lang.ruby IoC containers seem to be the new hype in the ruby world. I count at least 4 now. All great but just a bare bones container doesn't cut it. What I am looking for is a simple framework that can: Run servlets: ... stefan.arentz(138)
Persistence framework450 (11/10/2004 8:31:48 PM) comp.lang.ruby Hi all, We're looking for a good persistence framework for Ruby. We have tried Active Record, Vapor (too "bloat" for us; not in the bad sense), Lafcadio, SDS Library, ... and they're right... but they didn't f... imobachgs1(11)
[ANN] postgres-pr (pure Ruby PostgreSQL)2025 (11/18/2004 3:12:28 PM) comp.lang.ruby Hi, I'm proud to announce the first public "release" of postgres-pr. This is a library to access PostgreSQL from Ruby without the need of any C library. * You can use it only with newer 7.x databases that us... mneumann(589)
rails / active record / og: question on tree structures426 (11/21/2004 10:28:44 PM) comp.lang.ruby Does rails (or active record) have any way to conveniently define and take advantage of the tree structure of containment? e.g. a Modules contains Name, Modules and Classes. A Class contains Name, Attribu... itsme213(606)
rails is awesome3635 (11/23/2004 9:56:29 AM) comp.lang.ruby Couldn't help sending a big 'thank you' to DHH for Rails. I finally threw away CVS ruby so I could try it on 1.8, and it's stupidly easy to use. I finally get a chance to get to grips with MVC without all th... rasputnik(319)
[ANN] Nitro 0.5.0157 (11/23/2004 4:11:15 PM) comp.lang.ruby Hello everyone, a new version of Nitro was just released. Homepage: http://www.navel.gr/nitro Download: http://www.rubyforge.com/projects/nitro The highlight of this release is the stand-alone Og distributio... george.moschovitis(306)
[ANN] Ruby Central, Inc. Codefest Grant Program728 (12/2/2004 1:06:42 PM) comp.lang.ruby Ruby Central, Inc. is pleased to announce its first... Ruby Codefest Grant Program The goal of this program is to provide support for local and regional groups of Ruby program... dblack6674(3021)
Is there any project like Zope or Plone?635 (12/10/2004 5:16:03 AM) comp.lang.ruby Is there any project like Zope or Plone in Ruby except Rails? _______________________________________________ programming is my life my blog:http://blog.itpub.net/liubin http://www.ruby-cn.org/ ... bin
[ANN] Nitro 0.6.01132 (12/10/2004 1:40:39 PM) comp.lang.ruby Hello everyone, a new version of Nitro was just released. Homepage: http://www.navel.gr/nitro Download: http://www.rubyforge.com/projects/nitro This is considered a preview release, to keep developers invest... george.moschovitis(306)