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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Access your gem docs from your browser, with a neat interface
See this short post on Alan Harper’s blog on how to setup Gembox with Passenger
Fixture Replacement Quick Reference Guide
A quick guide to the syntax and features of four fixture replacement/factory tools.
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.
Test-ATFT - reminder mousepad
A helpful TATFT mousepad for programmers who always forget their tests, as permanent memory-aid ;)
Scotland on Rails - Session videos available
MP4 Videos from the best European Ruby conference are now available at http://engineyard.com/sor. Scotland on Rails would like to thank EngineYard for hosting them for us.
Ruby Bow and Arrow
Ruby Bow and Arrow the old win95 bow and arrow game implemented with Ruby and Shoes (with gameplay demo video)
How to manage your own installations of alternate Ruby versions
Manage your alternate Ruby versions the right way by installing them as optional packages, and work with them painlessly using a 15-line alternative to multiruby.
Dear Railsists, Please Don’t be Obtrusive
Hacked up a simple Rails shout wall to demonstrate the differences between obtrusive and unobtrusive Javascript handling.
PostgreSQL and Subversion support for astrails-safe s3 backup
In addition to already supported Mysql and filesystem backups. See the blogpost for more info.
Rewriting history (in git)
Jack Chen discovers the secret lost art of converting an 800mb git repository down to a respectable 80mb
Importing Mephisto comments into Disqus
We decided to integrate Disqus commenting system into our Mephisto blog but we wanted to preserve the existing comments. Here you will find the Ruby script we used to do that.
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.
Chronicle Extension for Radiant CMS
The Chronicle Extension is for Radiant CMS and adds versioning to pages and uses a page’s status to determine its visibility. The most recent published or hidden version is visible in live mode and the most recent version, a.k.a. the “current version,” is visible in dev mode regardless of its status. There is a video of it in action here.
Shoes And A Shotgun
Frustrated trying to set up a development environment? Shoes and a Shotgun runs a fully loaded web-stack on your desktop for easy web-app development. Shoes and a Shotgun is to Sinatra what Locomotive was to Rails.
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.
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.
Pledgie: Help One-Click Ruby Installer to get a New Home!
Luis Lavena is asking for your help in designing a new site for the Ruby One-Click Installer. If you’re a designer, please consider submitting something. If you’re not, you can help out by contributing on Pledgie.
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.
LipsiaBlog: A New Rails Blogging System
LipsiaBlog released on github. LipsiaBlog is a new lightweight, simple, fast, easy blogging system written in rails and lipsiadmin. You can found screen, docs and more here.
Lipsiadmin a Backend for yours rails app
follow the official site where you can find instructions, examples and more about the better admin for rails.
Book Promotion: Head First Rails
The promotion of David Griffiths’ book “Head First Rails” gets underway from 26th to 28th May 2009 at RubyLearning.org. It’s free. Check out the details. Author David Griffiths also talks to RubyLearning.org.
Yehuda Katz talks about Rails 3 and beyond
A short interview with Yehuda Katz, where we talk about the upcoming Rails 3 release and beyond, the Rails community, Django and Russian Dolls! One of a series of chats with speakers attending the Rails Underground conference in July - you may also like to see interviews with Maik Schmidt, Dr Nic and Geoffrey Grosenbach.
Translate your yml files with Google Translate and Babelphish
Babelphish let’s you translate your yml files into all the languages supported by Google. Just do this: babelphish -y ./locales/en.yml
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.
Memoization in Ruby and Python
In this article I show you how to easily make use of memoization in Ruby (and Python).