Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Interesting Ruby Tidbits That Don’t Need Separate Posts #10

By Peter Cooper / November 21, 2007

jRails - Seamlessly Redefines Rails Helpers to Use jQuery Instead of Prototype

jRails is an intriguing Rails plugin that makes it extremely easy to switch from using the Prototype JavaScript library that comes with Rails to the increasingly more popular jQuery. From most of the reports I've seen, jQuery is faster and I've seen several blog posts just in the last week that emphasize just how much easier and concise jQuery code is (it's not hard to find these reports, if you're interested). The only downside to jQuery is that all of Rails' helpers are written to use Prototype.. but jRails solves that by redefining how they work so that they work with jQuery instead! Talk about rocking the boat!

RailsCamp 2.0 - A Totally Bonzer Weekend for Rails Coders

RailsCamp is an informal Rails camp (literally, you're in bunk style accommodation) in Australia for Rails coders. The next one is running from this Friday, November 23rd through to Monday, November 26th, so unless you're local to Melbourne, it might be too late to sign up. Organizer Pat Allan wants to build up more knowledge of the event, however, so check out their site and follow their progress if you want to attend a future event. Previous events look like they were fun, with much evidence of coding and goofing off.

Using Ruby to Monitor Your Amazon EC2 Instances

James Knowlton and PJ Cabrera have put together a great tutorial on how to use Ruby to monitor and maintain Amazon EC2 (Amazon Elastic Compute Cloud) instances.

LiveConsole - Run IRB Sessions On Remote, Running Ruby Applications

I'll let them do the talking.. "LiveConsole is a library for providing IRB over a TCP connection. If you add it to your application, you can run arbitrary code against your application. For example, you can: Inspect the state of a running application, Change the state of the application, Patch code on the fly, without a restart [...]"

Droid Sans Mono - A New Coding Font

Droidsansmono

Not directly Ruby related, but Droid Sans Mono is a new coding font that seems to have gathered quite a few fans in the last few weeks. Might be worth a try in your editor of choice (if you want to recommend any other coding fonts, however, leave a comment here.. quite a few people read them!)

Comments

  1. Chris says:

    An awesome font i've found is Inconsolata.
    http://www.levien.com/type/myfonts/inconsolata.html

  2. Daniel Fischer says:

    In regards to jRails, is it unobtrusive? That's the main reason why I even use jQuery.

  3. Darcy Laycock says:

    I have to agree with Chris - Inconsolata is a wonderful font and it looks great when coding for hours on it.

  4. florian says:

    for more about fonts check out http://duncandavidson.com/archives/654

  5. s0lnic says:

    @Daniel Fischer According to examples from their website, it has nothing to do with unobtrusive approach to JavaScript. It works exactly the same as Prototype helpers, but generates jQuery code.

  6. Daniel Fischer says:

    @s0lnic

    Lame, what's the point then? =[

  7. Peter Cooper says:

    I'm guessing mostly because jQuery's faster and some people might still want to mostly write jQuery code without worrying about Prototype hanging around.

  8. Martijn says:

    After I got bored with Monaco after using it for some years, I've discovered Bitstream Vera Sans Mono..

    http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/1.10/

    Very nice font and looks great in Textmate with dark backgrounds :)

  9. rue says:

    The lack of the diagonal in 0 is a dealbreaker for me. Currently I use and very much like the only good thing to come out of Redmond.. MS Consolas.

  10. James Knowlton says:

    Thanks for the love Peter! Your book introduced me to Ruby (I still like Python too...I guess for me languages are like ice cream flavors, you can like more than one). Love the blog, I read it often.

    James Knowlton

  11. Justin says:

    Just installed inconsolata and love it.

Other Posts to Enjoy

Twitter Mentions