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.
Rice - Easily wrap extensions in C++
If you are writing binding C++ libraries to Ruby - check out Rice. It makes accessing C++ libraries from Ruby dead simple through clever use of C++ templating. It is similar to Boost.Python and provides an object-oriented interface to most of the Ruby C API.
Using AJAX to load Rails partials
Here a pattern is discussed to using AJAX to load Rails partials asynchronously. This is a handy way to make your app feel more responsive by rendering slower-loading page fragments in parallel.
Rapid RoR Server Deployment
Check out the Elastic Server On-Demand. It builds Elastic Servers(tm) which are are application stacks which can be dynamically constructed from component libraries and delivered in many virtualization-ready formats (VMware, Xen, Parallels, EC2 AMI). [more inside]
Google App Engine support for Ruby
Vote for Google App Engine to support Ruby! Go and give a star to “Please add Ruby support!” Note that it is the number of stars that determines the items position in the list. Do NOT add “+1” comments (it will send an email to everyone!)
Extend modules instead of defining methods on a metaclass
Jay Fields gives a good reason to Extend modules instead of defining methods on a metaclass: redefining behavior gets weird if you use an instance’s metaclass.
Proof of concept schema browser
I have created a proof of concept a plugin to visualize the tables in your rails application. It uses the tables as reported by the database and relations as defined by belongs_to associations. Comments welcome.
Rails or Merb?
Matt Aimonetti compares Rails to Merb on the Rails on the Run blog. Turns out Merb’s 69% faster!
New version of Thinking Sphinx is out
Pat Allan has released a rewrite of his fantastic Thinking Sphinx plugin, a concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration and searching.
Yet another look at Ruby symbols
Here is a detailed look at the mysterious Ruby Symbols.
Free Online Rails Course
The first batch of the Free Online Ruby on Rails Course starts off this Saturday, 12th April 2008. 100s of participants have already registered.
Sharpen up your Ruby knowledge
Some nice little Rubyisms to remember.
Sequel 1.4.0 Released
Version 1.4.0 of popular database toolkit Sequel has been released. It now supports eager loading with cascading to any depth and has a smattering of bugfixes.
How to test a single test/case/spec/example
How to test a single test/case/spec/example
Timezones in Rails 2.1
A comprehensive look at timezone support in Rails 2.1. Good place to start to get your app prepared for 2.1 (coming in the next week or two) if you need to deal with time zones.
Rails IM
Action Messager is an ActionMailer-esque library / plugin for your Rails applications that makes it just as easy to send instant messages as to send e-mails.
Rails development environment on Windows!
How to set up a complete Rails development environment on Windows.
2 Minute Introduction to JRuby on Rails
The 120 seconds guide to JRuby on Rails is a delightfully concise and direct walkthrough creating a very basic Rails application using JRuby very quickly.
Parallel Each with Peach
Peach is a cute Ruby library that provides threaded parallel versions of the “each”, “map”, and “delete_if” iterators (as peach, pmap and pdelete_if respectively.) It’s like a lighter, green threaded attempt at a MapReduce for Ruby.
RGTE is a small, opinionated email filte...
RGTE is a small, opinionated email filter by Scott Barron which processes and filters incoming email into Maildirs. Written in Ruby and available using Git (naturally).
HotRuby News
A few weeks ago, Ruby Inside posted about HotRuby, a JavaScript VM for opcodes produced by Ruby 1.9. Now, JavaScript mastermind John Resig posts with his own impressions of the system. What makes his post especially worth a read is the number of insightful comments.
Create A Facebook Application With 8 Lines Of Ruby
Frankie which helps you create a “hello, world” Facebook application with just 8 lines of Ruby is now available. This blog post gives a good rundown of how it works.
Passenger vs Mongrel vs Thin
A comparison & benchmarks between Passenger, Mongrel, and Thin.
Best of Railscasts
Jacques Crocker on the Rails Jedi blog posted his favorite Railscasts. This is a pretty good round-up.
RubyForge Goes Git
Dr. Nic announces that RubyForge now supports Git as an SCM in addition to CVS and SVN.
Kill Your Fixtures and Spec Happily
Kill Your Fixtures and Spec Happily