Slashdot Mirror


Ruby On Rails 1.2 Released

Scooter[AMMO] writes "David Heinemeier Hansson sent a post to the Rails 1.2. This new version adds a slew of buff and polish to the rest of the system, as well several new features like RESTful interfaces, response formats, improved multi-byte support, and more. If you haven't checked out the web application framework that aims to renew joy within its users, give it a look. You may be amazed at how easy it makes things without sacrificing power or functionality."

7 of 97 comments (clear)

  1. Re:Improved multi-byte support? by jrumney · · Score: 5, Informative

    If you'd RTFA instead of rushing to get first post, you would have seen this:

    So since Ruby won't be multibyte-aware until this time next year, Rails 1.2 introduces ActiveSupport::Multibyte for working with Unicode strings. Call the chars method on your string to start working with characters instead of bytes.
  2. Re:No Mongrel by dam.capsule.org · · Score: 3, Informative

    Maybe you can have a look at JRuby: http://jruby.codehaus.org/.

    They aim for 100% Rails compatibility (I think they are nearly there) and there are developments to allow deployment of your rails application using Java's war web archive system to a Java application server.

    --
    What sig ?
  3. Comparision between Rails and Django by Anonymous Coward · · Score: 5, Informative
  4. Whew by tcopeland · · Score: 3, Informative

    It's getting installed at a furious rate... we're doing around a gem a second now.

  5. Re:Improved multi-byte support? by dwerg · · Score: 5, Informative

    Thanks for the vote of confidence. You might be surprised to know that we thought about all this before we started working on AR:Multibyte.

    AR:Multibyte is currently mostly used internally in Rails to make methods multibyte safe. It will be really easy to phase it out when internal support arrives.

    Ruby is getting more multibyte support 'in a year', which means that it's at least going to take a few years for everyone to actually get the new version in their OS.

  6. Re:Improved multi-byte support? by aldheorte · · Score: 4, Informative

    If I remember correctly, there is a cultural issue here in that Unicode is apparently considered with some disdain in Japan and local multi-byte encodings are used, one of which Ruby supports. If you do some searches, you can probably find the full background story.

  7. Re:Improved multi-byte support? by iluvcapra · · Score: 3, Informative

    There was a good AC post about it in the "Ruby as a Lisp" posting a few days ago:

    It basically has to do with the fact that Unicode uses Han Unification to cause Chinese and Japanese ideograms to share codepoints, and Japanese aren't down with that, so they use Shift-JIS. Check the postings that reply to it for a big digression on the issue ;)

    --
    Don't blame me, I voted for Baltar.