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.

Use binding methods of prototype.js to keep your code DRY

There’re two awesome methods in prototype.js library those are often overlooked by newcomers - Function.bind() and Function.bindAsEventListener(). These methods are so great that their absense from another awsomeness called Ruby is just driving me crazy every time I stumble upon it. But let’s take a closer look at why these methods are so useful, and let me show you almost a real app usage example. Read on for the rest of the article.

Compass, the 960 CSS framework, and Semantic Markup

A new article from Carbon Five describing how one can leverage CSS grid-layout frameworks without cluttering semantic markup with the presentational class names those frameworks employ. The solution involves using the new Ruby based ‘meta-css-framework’ Compass - Direct Link

Compass and SASS are great tools makes layout a breeze.
Interesting link, more for the places it took me than for the content itself, I…
Hmm Steve, I think you are wrong and I will try to put down the reasons why: …

The Ruby Object Model - Structure and Semantics

To get inspiration for the work on my compiler series, I spent quite some time going through MRI to get a better idea of exactly how it all hands together. The result is a post on the Ruby Object Model. It doesn’t contain much new stuff if you already understand the inheritance structure of Ruby completely, but if things like meta classes confuse you, and you wonder about implementation details, you might find it useful.

Made a couple of updates based on a very helpful comment from Rick DeNatale. …
Thanks a lot for this

What are real-world prime examples of good Ruby code?

A Ruby Inside reader wrote in last week asking me to run an article linking to projects they could look at that demonstrate good Ruby style and coding practices (after I had said Heist was a good demonstration of this). So.. rather than just post all my own opinions, I thought I’d get some input! What libraries, apps, plugins, etc, do you think show a very high quality of coding? All suggestions welcomed, and if you leave a name/URL with your comment I’ll try and credit you in the article.

If you are looking for a good example on how to write (r)specs, I recommend che…
Thanks for the tips!
Once you have a glance at those evaluations, anyone might certainly makeup thei…
I am a beginner, and I want to begin reading good code so that I don’t get in t…
Loading older posts