Simple XMLRPC server in Ruby using WEBrick
Posted by tom February 23rd, 2006
Besides RAILS, I’m very interested in the Ruby language. I’m also curious how to setup a very simple XMLRPC server. I know WEBrick is a pretty stable and very extensible webserver (written in Ruby), as it can also run the RAILS software.
Read the rest of this entryRelation attributes
Posted by tom February 21st, 2006
Found an interesting piece of text concerning relation attributes on the rails mailing list.
Read the rest of this entryLighttpd is such a breeze
Posted by tom February 20th, 2006
While the server which comes with Rails is OK, not too quick, but when you’re starting it’s OK. But OK is never enough! So I installed lighttpd! Rails automagically picks this up, no need to run
ruby script/serverany differently! And now … it’s quick, it’s Ruby on Wings! It’s like Back to the Future 3: You’ve got you’re own flying train here! And all by this article by Dan Benjamin.
How to allow your user to sort your list differently?
Posted by tom February 19th, 2006
So you’ve generated your scaffolding code and would like to allow the user to sort your list differently. If you add a little code to the generated scaffolding code, you’re there.
Read the rest of this entryNice tutorial on how to distribute Ruby / Rails applications
Posted by tom February 19th, 2006
Just found a nice tutorial on how to distribute Ruby or Rails applications, it can be found here: www.erikveen.dds.nl. It involves wrapping all your code in a tar or .exe file, ofcourse this only works if you’re on Windows.
Reinstalled Mac OSX (Tiger)
Posted by tom February 18th, 2006
Tonight I have reinstalled Mac OSX 10.4 (Tiger) within the hour. I’m now again up and running with a full development environment.
Read the rest of this entrycreated_on / updated_on
Posted by tom February 17th, 2006
Rails scaffolding
Posted by tom February 17th, 2006
After some investigation I found out that the scaffolding with Rails is all around plurals and singulars. The scaffold option for ruby script/generate is used to taking a singular form. Your database tables need to be in plural form however…
My first Ruby class
Posted by tom February 16th, 2006
After toying around with Ruby a little and reading through the book Programming Ruby see below for the first class I made.
Read the rest of this entryRails
Posted by tom February 16th, 2006
Since today I (finally) discovered RAILS, Ruby on RAILS to be precise. Ruby is a programming language, RAILS is a framework (written in Ruby) which allows you to create web applications in no time! It removes lot of the complexity which exists today with Java, Ruby has a clean syntax, Rails is a logical extension to Ruby.
