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.

Employment.nil? — The First Toronto Ruby Job Fair

Employment.nil? is a Rubyist job expo that’s inspired by the science fairs of our youth: no computers allowed! Instead, we can tell people in our own words why we love Ruby, and get hired based on our personality instead of acronym compliance. Join us in Toronto, Canada on June 6th.

How can a class be nil? That’s what I want to know!
City.find_by_name("Toronto").jobs.count != 0

New Gem: Excellent

Excellent is a source code analyser for Ruby and Rails. It combines the checks of roodi, reek and flog and also adds some Rails specific checks that will be extended in the future.

github finally built the current version (1.2.1 which includes the Rails specif…

JavaScript I18n

Simple tool for your Rails application. Available as a gem, uses standard ActiveSupport’s I18n translations, converts them to JavaScript files - each language in separate file. Also provides I18n.t JavaScript function, similar to the ActiveSupport’s one, no cookies needed to determine client’s locale.

Rails plugin to help manage your CSS and Javascript

Shoebox lets you maintain your styles and scripts as first-class citizens while giving you controller-level granularity over their use.

You’re correct, there is currently no caching. Caching and SASS support are …
SASS support is now in.
And now caching support.
Active, iterative development in action - cool!

Customized truncate helper

Customized truncate helper In Rails truncate helper will truncates a given text after a given :length if text is longer than :length (defaults to 30).The problem is that when we truncate the string by character or word, it will cutoff the text mid-word and creating open tag problems.

We are using this one : http://gist.github.com/113998 with great success :). …
I’m using this one: http://pastie.textmate.org/487265 …

proxy gem 1.3.0 is out

Fixes all compatibility issues with actionpack >= 2.0.0. This gem/plugin allows rails applications to dynamically respond to proxied requests by detecting forwarded host/uri headers and setting the session domain, default host, and relative url root. Check it out at

Loading older posts