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.
Experiencing a Memory Leak? Why, that may not be it at all...
Engine Yard App Support Guru Sudara Williams talks about how Mongrel could be the real problem.
Interview with Ravelry
Casey Forbes talks about Ravelry (very popular knitting site running on Rails) and what it takes to keep it running here.
Registration Now Open for "Essential Javascript" and "Rails for Everyone" in Chicago
Get started with Rails with Rails for Everyone, geared for everyone new to Rails. The workshop focuses on RESTful development and Rails best practices in an inclusive, professional environment. Oct. 24, 2009 in Chicago, $395. Or take your Rails and Sinatra apps to the next level by learning how to properly use Javascript and the jQuery framework. Essential Javascript with jQuery, Oct 17, 2009 in Chicago, $395.
Using Ruby Blocks And Rolling Your Own Iterators
I recently covered Ruby block basics in my post, More Advanced Ruby Method Arguments – Hashes And Block Basics. I mentioned that blocks are not really method arguments and also covered the two different types of block syntax. Towards the end of that post I promised to examine Ruby blocks more deeply and I am going to do that here. In my opinion there are several interesting things about blocks…
Getting Started With MacRuby
Posted an intro article about how to get MacRuby up and running on your system!
Passenger preference pane v1.3 released
The Passenger preference pane v1.3 for 10.5 and 10.6 users was just released! Spread the word! Oh, and watch the repo! KTHXBAI :)
A Wealth Of Ruby Loops And Iterators
I remember when I first started looking at Ruby, I’d be browsing some code and see yet another way of looping/iterating over stuff. Whenever that would happen I would think, “…Ruby sure has a lot of different ways to iterate over things”, but I also remember wishing that someone would just put all the different ways to loop and iterate over stuff together so that you don’t have to discover them in a piecemeal fashion. So, I’ve decided to fulfill my own wish and put together all the different ways to loop over stuff in Ruby…
Ruby DCamp is Challenging the Economy
I just wanted to point out some information about Ruby DCamp over on InfoQ. I talked with the event organizer and it looks like a great event - Ruby DCamp is Challenging the Economy.
always remember me
Clearance now uses only cookies with a long expiration.
Collaborative Filtering with Ensembles
Ensemble methods are proving to be very effective for doing collaborative filtering (product recommendations, etc) as the results from both the Netflix and the recent GitHub challenge clearly show. A look at what ensembles are, and how they can be used (in Ruby, of course).
bullet - A rails plugin/gem to kill N+1 queries and unused eager loadings
The flyerhzm-bullet gem is designed to help you increase your application’s performance by reducing the number of queries it makes. It will watch your queries while you develop your application and notify you when you should add eager loading (N+1 queries) or when you’re using eager loading that isn’t necessary. It also provides some notification, such as javascript alert, browser console.log, bullet log, rails log and growl. [more inside]
[Screencast] Real Thin Restful Controllers with Inherited Resources
I just launched a full featured screencast about José Valim’s Inherited Resource gem/plugin. It makes your controllers truly DRY-ied, lean, elegant and Thin. And more: it has a couple of backported features from Rails 3 for you to use right now!
Cassandra and Ruby: A Love Affair?
Check out the newest post in Kirk Haines’ series on Key-Value Stores!
Installing PostgreSQL on Snow Leopard 10.6
Whether you are using PostgreSQL for general development, or need a version to match your setup on Heroku, getting PostgreSQL 8.3 installed on Snow Leopard is fairly straight forward. However, you’ll want to make some changes so that it works right for you.
Do not burden your users with validations
On this post, Hugo Barauna gives some usability tips when working with Rails validations.
phpbb-auth - A rails plugin/gem allowing...
phpbb-auth - A rails plugin/gem allowing you to use an existing PHPBB forum for handling users/authentication in your rails app.
Ruby developer guide to upgrade to Snow Leopard
The Ruby on Rails blog just published a simple guide with the basic things you need to know to upgrade to the latest version of OSX.
Ruby’s case statement uses ===
I’ve not found this stated clearly enough elsewhere so I’m doing so myself. Ruby’s case statement calls the === method on the argument to each of the when statements Some explanation and examples (and quirks) in my blog post about it here.
Using Ruby to create Automator actions and Services in Snow Leopard
A Snow Leopard service, powered by Ruby, uploads images to Amazon S3 via a right click menu. More info and download.
Guide to Web Development with Version Management
I’m launching a series of posts on how I do development with source code management and Rails. Covering git, hosting, mentality and more. Check out part 1 at this link.
Obeying Robots.txt , much easily
I just pushed a gem , obey_robots_dot_txt it helps people who do crawling and needs to obey robots.txt
Fixing Ruby Gems, MySQL and Passenger Phusion on Snow Leopard 10.6
Quite a few things are broken after the upgrade to Snow Leopard. MySQL, Passenger, various gems, ImageMagick, etc. Here is a growing list of fixes to get back up and running as quickly as possible. Get Started
Alternative HashWithIndifferentAccess
An overview of the patterns to extract a string like Hash as well as the MRI Hash implementation in general.
Snow Leopard Upgrayyyd Guide for Ruby/Rails Devs
After going through the not-so-grueling, yet still involved process of updating MySQL to 64bit and updating my ports and gems to work again, I thought I’d compile this guide. [more inside]