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.
Passenger 3 Technology Preview 4
Adding new features and removing old limitations
Simple alias for changing to the current RVM Gemset directory
Stick this in your .bash_profile and run ‘cdgems’ if you’re using RVM. It will open a new terminal tab and cd to the correct directory.
Full-text search in Rails applications with Sphinx
An overview of approaches to perform full-text searching in Rails applications and a close look at one of the best search engines called Sphinx.
How GitHub Does Enterprise
I wrote about how GitHub handles a long-running branch for our enterprise product, Firewall Install. It involves a lot of explosions.
Maestro - cloud provisioning, config, and management for Ruby and Rails
Maestro is a cloud provisioning, configuration, and management utility for your Ruby and Ruby On Rails applications. Simply declare the structure of your clouds via configuration files, create Chef recipes to configure the nodes in your clouds, and Maestro takes care of the rest. The source and documentation can be found here:
Rails Test Prescriptions Beta 5
Rails Test Prescriptions Beta 5 is now available, featuring Rails 3 support and a chapter on legacy code. Follow the books progress at the Rails Rx blog.
RailsConf 2010: Interview with George Guimarães from Plataforma
RailsConf 2010: Interview with George Guimarães.
Q&A w/John Nunemaker on MongoDB
The author of MongoMapper says Mongo is pretty much his default database. The post also introduces John’s Scout plugin for monitoring MongoDB.
Notes from a Rails on PostgreSQL talk
Here are some notes from a Pivotal Labs talk on running Rails on PostgreSQL from a while back. Some good content there on partitioning, explain, and all that.
Upgrading a Rails 3 beta 4 application to Rails 3 RC
I’d like to share my experiences upgrading my application from Rails 3 beta 4 to Rails 3 RC. Changes involve Bundler and skeleton files (config/ etc.).
Maptastic - a Formtastic Map Location Selector
Just released a plugin for Formtastic that adds a control for selecting a location from a map: Maptastic
Choco : A delicious Javascript web framework
Choco brings the MVC to the client side! It is an excellent solution to develop single-page web applications. [more inside]
Asynchronous email deliveries using Resque and resque_action_mailer_backend
If you ever wanted to send emails asynchronously using your current Resque setup, this is the right gem for you. resque_action_mailer_backend integrates cleanly with your Rails application and lets you deliver emaisl out of the request cycle by sending the generated emails using one of your Resque workers. It doesn’t ask you to call fancy methods, inherit from new classes or anything, just tell ActionMailer to send using :resque and you’re done. More here.
Bundler to the Max
I’ve been using the pre-release version of bundler in some interesting ways. I’d love to hear your thoughts!
Incoming Email Processing Microframework
I just pushed the first gem release of my Ruby Summer of Code project, Mailman.
Testing for Booleans - A New Plugin
I created a simple plugin that adds a to_b method to various classes. You can read about it here.
Upgrading from Rails Beta 4 to the Release Candidate
I ran into a couple of snags when Upgrading from Rails Beta 4 to the Release Candidate. I recorded the problems and fixes in a video and put it on Teach Me To Code.
Rails Camp New England #3
Registation is now open. Sept 10 - Sept 13 in Stowe, VT. Join 30 other Rubyists for a weekend of hacking, beer and fun! All levels welcome.
Distributed Ruby - Exploiting ‘Enterprise’ Software
I just wrote a quick article how to easily construct reliable distributed ruby applications simply by exploiting the world of ‘enterprise’ solutions for our own game.
Design Patterns in Ruby
Check out this series of reviews on Russ Olsen’s Design Patterns in Ruby. Common GoF Patterns + 3 bonus Ruby Patterns!
UTSUP? - Simple Real-Time Team Awareness for Git Projects
We just launched a new rails app: utsup.com. The service provides near real-time updates on what other people on your project repo are doing. We made it to solve our internal problem of how to know what remote team-members are working on without having to constantly ask, “what’s up?”
Unveil.js is a data exploration and visualization toolkit that utilizes data-driven software design.
It features generic data abstraction through Collections, a Visualization API allowing the creation of pluggable visualizations, and a Scene Graph implementation on top of HTML 5 Canvas. See the GitHub project, the documentation, and an example.
BDDCasts on Rails3 and RSpec2
Upgrading an existing project to Rails3 and getting all existing specs to pass seems like a difficult task. Check out the second episode of the BDDCasts URLAgg series, to see how to upgrade your project to Rails3 and RSpec2 and get the Rails console and server to load and run all the specs.
rails-bestpractices.com is now launched
I’m glad to say http://rails-bestpractices.com is now launched. It’s a website that provides the best practices to write rails codes and anybody can share his/her practices. It’s also the home page of rails_best_practices gem. ihower is also the administrator who is the presenter of Rails Best Practices presentation. Welcome to share your practices here.