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.

The Future of Documentation

I recently posted my thoughts on where a much better form of documentation than Rdoc and Yard. Let your docs live with your codebase. I’d love to hear more thoughts on this idea! Specifically, what libraries that do NOT lend themselves to this style of documenting? Are there any patterns we can discover?

I love the simplicity of coffeescript’s author literate programming utility. …
Anyone ever tried using just cucumber? Is there any reason natural language …
I wrote <a href=”http://rubyworks.github.com/qed>QED</a> for this v…
I wrote QED for this very purpose. …

No Querying Views script

I just released a script called No Querying Views. Once installed within the config/initializers directory, it will raise an exception every time one will try to fetch data from the database within a view. I used it to replace ActionController::Base in favor of Michael Sofaer’s Vanna::Base, believing “that all web requests should operate as logical clients of a JSON API” (and it was not possible to move until the views were lazy loading data across the application).

@Bragi: use a before_filter to load the list for the sidebar so you don’t have …
@Jan : the script doesn’t do much, it will just raise an exception any time you…
Isn’t New Twitter an example of such paradigm?
@ncr Yes, they focused on delivering a reusable API that exposes JSON fragments…

Thinner (Varnish cache purging)

Thinner is a new ruby gem that purges Varnish cache over time. It’s useful for keeping your caches warm after deploys. Would love feedback and/or thoughts.

cat urls.txt sed ‘s/^(.*)$/url.purge \1/’ nc -q1 127.…
That works dandy as well. Thanks for the feedback.
have you seen https://github.com/schoefmax/klarlack ? …

Radix will convert!

I just released Radix v2.0. The new version is a nearly-complete overhaul of the old version, with much improved and more intuitive support for base conversions via Radix::Integer, Radix::Float and Radix::Rational.

How Does One Use Design Patterns In Ruby?

Chee Yeo introduces you to Design Patterns in Ruby and how to use them in your own Ruby code. A guest blog post on RubyLearning.

The link seems to be broken
I don’t think it’s a problem with the link, per se; the entire http://rubylearn…
…and now it appears to be back online.
Sorry guys, we have had serious issues after the sites got hacked last Wednesda…

Redmine 1.0.3 Released

A new stable version of Redmine has just been released. The Rubyforge servers are warmed up and ready to serve your download for one of the most popular Open Source Rails applications.

Loading older posts