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.

Easy Rails cache expiry

Cache expiry can be a bit complicated to setup with memcache, but I’ve released a very small plugin that adds simple cache expiry to the rails filestore cache, no extra processes required - perfect for shared hosting (or lazy coders). E.g. cache({:controller => ‘mycontroller’, etc.}, {:expires_in => 1.day}). So easy it’s (not) a crime. Get it here: http://github.com/adamsalter/filestore_expires_in-plugin

Using Cucumber to test a multilingual app

Have you ever wondered how to test your multilingual app using Cucumber without breaking your steps every time you change a text? Or how to test the app across multiple locales? And all that - if possible - without cluttering up your stories/steps too much? Read here about some possible approaches.

CloudCrowd — Parallel Processing for the Rest of Us

CloudCrowd is a new gem that provides convenient, MapReduce-inspired, scalable processing for slow jobs like image resizing, PDF processing, and video encoding. The gem provides a central server and job queue, worker daemons that can be run from anywhere, and a web interface for keeping track of it all.

Here’s the blog post announcing it with a bit more detail: http://www.docume…

coulda - Cucumber-like BDD power without the magic

Coulda is a new testing library by Evan Light that provides “Cucumber-like BDD power but with an internal DSL.” Further: “coulda believes that the best way to reuse code is the good ol’ fashioned method. Instead of sharing files of regexps mapped to procs, you just write methods. That simple.

Just for the lazy: http://evan.tiggerpalace.com/articles/2009/09/12/coulda/ …
Woulda: http://github.com/seanhussey/woulda :) …
rspec power without rspec syntax any1?
btw, we just covered this on RubyInside. …

ReversibleData for Testing

ReversibleData is a fairly new gem built to solve one of the problems associated with testing AR-backed models - Managing a database (and associated tables) and models. It handles creating / dropping tables and creating / removing models (e.g. so a User model may only exist in the scope of a test). It’s like migrations but a lot simpler / scoped to make testing easier.

Announcing the First Ever JRubyConf!

It’s our extreme pleasure to announce the first annual JRubyConf, to take place Sunday, November 22nd, immediately following RubyConf 2009! We’ve been working on putting this together for a little while now, and it’s finally time to share. [more inside]

Why on earth would we promote this bloated garbage? If I wanted the pain of de…
Sorry, not really sure how to respond to that :p Would be happy to address any …

What does "Content on the site you've linked to is invalid" mean on RubyFlow?

I’ve been trying to post here for days but I keep getting a ‘Content on the site you’ve linked to is invalid’ error. I can’t find any explanation as to why. Does it not like non w3c compliance? Advertisements? I’m trying to post a legit site! My kingdom for some feedback. [Ed: All is explained inside..]

Same problem here, github
A solution is now in place. Due to the new forced https URLs, there were issues…
Designer wrist replica watches function the fashion requirements of the individ…
I am trying to post following post but I am facing “Content on the site you’ve …

jsvars rails plugin

I just released jsvars - a Rails plugin for taking some of the pain out of passing values from Rails -> JavaScript. This in the controller: jsvars[:loginPath] = login_path instead of this in a script tag: var loginPath = '<%= login_path %>';

A Cacheable Hash That Stays Synced

Rails.cache freezes values in hashes that are cached directly. CacheableHash is a wrapper for Hash objects that prevents that from happening. Changes to the Hash being wrapped are automatically persisted back to the cache store so that everything stays in sync.

Loading older posts