Hello,
some months ago I started to use Python and to see the light.
Now my eyes are a bit burned so I went back to the darkness (for some
glittering red gem). I started Ruby.
I read almost the whole pragmatic programmer book without writing a
piece of code, except this: 15.times { puts ‘I love you, xxx’}, where
xxx were my girlfriend’s name. From that moment she also started to like
Ruby.
It is a good book. However, it is based on Ruby 1.6. I failed to find
something like “what changed from 1.6 to 1.8”. Can you help me?
Also, the reference is hard to read. It took a simple google session to
find the quoted-printable method (Array.pack(‘M’)). I think it could be
easier to find in the manual.
Setting up postgresql was quite easy (apt-get install libpgsql-ruby).
The documented PGconn.open method generated error, it said that it is
protected method. I use PGconn.new. Is it normal? I cannot skip the
‘port’ parameter with the new method.
On the whole I am happy with my first Ruby script and with the language
itself.
Mage