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.

Radiant Super Export Extension

There are some other extensions that provide portability to your Radiant CMS projects but the Radiant Super Export Extension by Aissac allows you to export and import the records in the database and makes it easy to manage them with a source control tool (like Git or Subversion). All the records are exported to individual YAML files and a directory is created for each model. Check out the source code on github and visit the extension’s official page.

I have been using some of Aissac’s other extensions and they are put together V…
the comments are enabled on the posts (not on the pages). I’m fairly new to wor…

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

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 …
Loading older posts