RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

All-time World Cup standings (1930-2010) calculations and more w/ sportdb gem

Hello, The latest sportdb gem includes new tables (and models) for group, league and all-time standings. For example, to calculate the all-time standings table for the World Cup (including all nineteen tournaments from 1930 to 2010) use the football.db build script and issue $ rake build DATA=history This will import all teams, tournaments, results, and so on and dump the all-time standing e.g. 1 Brazil (BRA) 97 67 15 15 210:88 216 19 2 Germany (GER) 99 60 19 20 206:117 199 17 3 Italy (ITA) 80 44 21 15 126:74 153 17 ... The full results all serve as a great checksum that all football.db match data is up-to-date and complete. Cheers.

Swift Still Won't Replace RubyMotion

The day Swift came out, I wrote up a piece about “Why Swift Will Never Replace RubyMotion” which ended up getting a good amount of attention, both good and bad (luckily mostly good). Since then though, a lot has happened, I’ve talked to a lot of people about my post, I’ve read other peoples thoughts, and most importantly I’ve read and watched as much as I’ve been able to about Swift and how to use it. [more inside]

Click some text, it turns into a form. Abracadabra version 1.2.0 released!

Tired of having ugly forms, or different pages for editing and viewing? Try out my gem abracadabra, where clicking some text turns into a fully Rails-compliant form-for-esque form. Clean, modern, easy-to-use, Railsy. Similar to x-editable, but built from the ground up. The new version, 1.2.0, allows you to manually rebind using the new $.abracadabra() jQuery function. Follow @trevorhinesley

Language Designers Wanted

The Ruby gem Rattler is designed to make language design and recognition as simple and fun as possible. It’s nearly ready for a 1.0 release, but unfortunately I have so little time to work on it that progress is slow. [more inside]

This looks like the best Ruby external-DSL PEG I’ve seen so far. It’s the firs…
The answer is yes it can, and easily! …

The Many Shades of the Ruby Programming Language

Which Ruby implementation is right for your project? While the reference implementation (Ruby MRI) remains the interpreter of choice, an alternate Ruby implementation may be right for your project, depending on your operational goals and constraints. This article showcases the Ruby interpreter implementations and runtimes available today, discussing the advantages and disadvantages of each.

Loading older posts