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 Ruby Reflector

The Ruby Reflector is a Social News website for the ruby and rails programming community. It’s purpose is to promote quality content from great authors. Articles are scored and ranked based on data from the social web, and marked up with tags that allow for wiki-pedia style navigation through the content, and pivoting around interesting people, companies, products, and projects.

rate and tag MongoMapper objects in Rails!

Just released two new Rails plugins for apps using MongoMapper: acts_as_mongo_rateable adds classic rating support plus weighted rates and bayesian averages… and acts_as_mongo_taggable adds standard tagging functionality with some roundup and statistics methods to help build tag clouds and ranked lists. Both have pretty thorough tests, but there are still likely bugs to shake out. Please fork, contribute, and send pull requests if you fix bugs, improve performance, or add new stuff.

Multiple sets of independent validations with validation_scopes

I cooked up ValidationScopes to expose the full power of ActiveRecord validations to more than one set of errors. Useful if you want to display different sets of errors in different contexts and still be able to save the object regardless of the additional validation sets’ state. It is about as loosely coupled as possible to ActiveRecord::Validations which means you can expect a smooth transition to Rails 3.

Gravatar Image Tags: Updated and bundled into a gem

With the 0.0.2 release of gravatar_image_tag: Https support was added.; Ratings support was added; File extension support was added. It really is this easy: gravatar_image_tag email and you have gravatars in your application. Check out the well documented and configurable project on github

Whoops - link goes to githug.com
Fixed. I kinda like “githug” though :-)

RubyConf Taiwan 2010 CFP

RubyConf Taiwan 2010 will be held on April 25, 2010 in Taipei, Taiwan. If you want to give a presentation at RubyConf Taiwan 2010, please submit your paper. Any topics related to Ruby are welcomed. The deadline of call of papers is Jan 31, 2010. We have two session lengths for speakers: Session(45 min) or Talk(20 min). Please submit the subject, extract and author intro, by sending email to: 2010@rubyconf.tw

Get your local Rails application ready for I18N

I just launched a handy tool helping transfer your local Rails project to an i18n one by extracting text from HTML and helper methods from ERB views. An introduction blog or Fork it at Github Install: gem install ready_for_i18n Usage: ready_for_i18n <path_to_ERB_source_files> [target path] Non-Enligsh project usage: Check here

Hi all, is there a i18n extraction gem/lib out there that actually works wit…
The ErbHelperExtractor in ready_for_i18n may help a bit but another HAMLTextExt…

Cryptic Ruby Global Variables and Their Meaning

How many times have you looked at some ruby code and found strange variable names (eg. $0, $:, etc) and wondered what they meant? Well here’s an explanation

These globals only seem cryptic if you haven’t spent years coding in Perl :) …
They are called “special variables” and inherited from the Perl world, not exac…

A custom Hoe template

I like to create Ruby projects, and I also like to use Hoe to manage them. With any Ruby project generator, I always hate having to add my usual boilerplate code and Rake tasks. Luckily, Hoe supports using project templates, stored in ~/.hoe_template, with the sow command. For example, here is the Hoe template I use to generate new projects, with RSpec 1.2.9 and YARD 0.5.2 setup. [more inside]

Lemon Unit Testing Framework

I just released v0.6 of Lemon, a unit testing framework that enforces a one-to-one correspondence between test cases/units and classes/methods. While still an early development release, it’s quite usable. And I’m curious to find out what others think of the approach.

the 1:1 ratio is only a very small component of good test coverage. how you wr…
Thanks for the feed back, it gives me some guide to addressing some potential m…

R18n 0.4 for Rails

R18n now has full compatibility with Rails I18n and add to Ruby on Rails: filters, i18n support for models, time formatters, nice syntax and out-of-box pluralizations and autodetect user locale. Also R18n has Sinatra, Merb and desktop plugins.

Loading older posts