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.

CoffeeScript, a Little Language with a Pure Ruby Compiler

CoffeeScript is a little language with a Ruby-esque syntax that compiles into the good parts of JavaScript. The compiler uses vanilla Ruby classes for the lexer and code generation, and Racc for the parser. If you’ve ever wanted to use Ruby to experiment with a little language, it’s a good example to take a peek at.

Awesome! Integration with popular javascript framework and unit test is what re…

has_scope and responders released

We, at Plataformatec, just released two new open source tools: has_scope and responders, both extracted from Inherited Resources. has_scope allows you to quickly map controller parameters to named_scopes and responders is a repository of Rails 3 responders, which can already be used within Inherited Resources. As conclusion of this refactoring, Inherited Resources finally reaches 1.0. Read the blog post to catch up all changes.

Generating Thousands of PDFs on EC2 with Ruby

For about two months, we’ve been working on a static website that exposes the results of complicated economics model to non-economists. We decided to make the site static because of the overhead involved in computing the results and the proprietary nature of the model. We would simply pre-generate the output for all valid permutations of the inputs. However, on a single machine, we found it would take 30 hours of uninterrupted processing! Clearly, this was a job for “the cloud”.

That was a cool breakdown. Thanks for sharing.

Ruby & WebSockets: TCP for the Browser

WebSockets are one of the most underappreciated innovations in HTML5 - bi-directional, fully asynchronous and data agnostic data exchange. Dev builds of Google Chrome, Firefox and Safari now all support WebSockets, which means that as developers we start taking advantage of the new architectures. A hands on look at the API, and implementation of Ruby WebSocket server and clients.

A Ruby Library for Analyzing Baseball Statistics from MLB

A Ruby API for using the MLB Gameday statistics data. Easily get all sorts of deep baseball statistics about the current or past seasons using this library. Reads data from the same data source used by MLB.com’s Gameday application. The library includes many tests that demonstrate all sorts of stats that you can grab and do stuff with.

yass! i like.
Loading older posts