Ruby On Rails Rocks


Yes, you’ve read right, this post is about Ruby on Rails, not about KDevelop 🙂 (at least not directly).





  1. I like Wt better: you develop websites using C++ (therefore you can use any C/C++ library you need), it mimics the Qt API, it uses the best AJAX library (Ext JS) and you can build your webapp as a standalone application which includes webserver or as a FastCGI module to use with Apache, LigHTTP or even Microsoft IIS.

  2. Rails comes with mulibyte for unicode:

    Ruby2 (coming this Xmas) has native thread and m17n for unicode and more (see 🙂

  3. there’s also backgroundrb that helps work around the thread thing:

  4. @Pau: Webdevelopment with C++? Can’t imagine how that works well, but you never know 🙂

    @patcito: Hmm, I couldn’t find a clear release plan, except for some blog posts that ruby 1.9.1 will be released this year around Christmas. Thats not quite 2.0 in my ruby-newbie eyes.

  5. For Rails multithreading doesn’t matter that much. Each rails app is single threaded so you can run multiple instances of it. The common setup is to have mongrel cluster running N mongrels (your ror apps) and to have a load balancer (software – apache, nginx or hardware) to serve requests using different mongrels.

    PS: you know where to find the Rails job, do you? 😉

  6. @adymo: Yes already saw that threading is not a problem for rails, I was speaking more about ruby for that 🙂

  7. @Apaku: Desktop development with C++? Can’t imagine how that works well either, then ?

    Seriously, what’s supposed to be so different about web UI development ?

  8. Hi Apaku,

    could you explain to me how you got indentation to work with Ruby files in Kate? If I press “Enter” after a “def hello” Kate doesn’t indent two more spaces but the cursor lands right under the “d” of “def”.


  9. I never said that works 🙂 It doesn’t auto-indent to the “next” level on a newline, but at least it auto-indents to the level on the previous line which makes indenting/un-indenting much easier.

  10. For ruby auto-indent on Kate, use the below:

    Edit ~/.kde/share/config/katefiletyperc
    Create the file if it doesn’t already exist
    Add the below to the file:

    Variables=kate: indent-mode varindent; var-indent-indent-after ^( )*(if|while|def|class|for|unless).*|\\{[^\\}]*$|else|elsif|rescue|do|begin; var-indent-indent; var-indent-unindent ^( )*(end|else|elsif|rescue)|^[^\\{]*\\}; var-indent-triggerchars }def; space-indent on; indent-width 2;

    (You can find this on

  11. Sorry – pressed Submit too soon…

    After creating/ editing the file as described above, follow the below steps:

    1. Start Kate
    2. Go to Settings > Configure Kate > Editor > Indentation
    3. Select “Variable Based Indenter” under “Indentation Mode”
    4. Open a Ruby file
    5. Type in “def hello” and press Enter
    => Enjoy auto-indents!!

Sorry, the comment form is closed at this time.

Create a free website or blog at
Entries and comments feeds.

%d bloggers like this: