sdsykes's read_from_slave at master - GitHub
Read_from_slave for Rails enables database reads from a slave database, while writes continue to go to the master
HotKey : Programmable keyboard shortcuts for Prototype
HotKey provides functionality similar to the accesskey attribute, but has many enhancements that allow for more granular control when creating...
citrusbyte's contest at master - GitHub
Write declarative tests using nested contexts without performance penalties. Contest is less than 100 lines of code and gets the...
ActiveRecord Optimization with Scrooge - igvita.com
The idea behind scrooge is both surprisingly simple and powerful: instead of forcing the developer to manually specify each attribute...
Alex Miller - Unit tests are a drop cloth
Unit tests are to refactoring like a drop cloth is to painting. Both feel like more work at first but...
How FriendFeed uses MySQL to store schema-less data - Bret Taylor's blog
After some deliberation, we decided to implement a "schema-less" storage system on top of MySQL rather than use a...
NoSQL with MySQL in Ruby - Friendly
Store schema-less data in MySQL.
cwninja's inaction_mailer at master - GitHub
An ActionMailer delivery method to save mails as files in a directory.
has_many :bugs, :through => :rails: Active Record Query Interface 3.0
So here’s an overview of how things are going to work in Rails 3.
samdanavia's ambitious_query_indexer at master - GitHub
Ambitious Query Indexer is a Rails plugin to identify database indexes that are missing. Rather than looking at tables and...
pjdavis's identity-map at master - GitHub
A simple implementation of an Identity Mapper for Active Record.
Highlight your prompt on production machines
Next in our series on not shooting yourself in the foot: Doing a sudo shutdown -h now on the main...
eliotsykes's asset_fingerprint at master - GitHub
Asset Fingerprint Plugin for Ruby on Rails - allows you to use md5 or timestamps in query string or in asset...
Lessons learned from 13 failed software products « Successful Software
I asked other software entrepreneurs to share their stories of failure in the hope that we might save others from...
Netty - the Java NIO Client Server Socket Framework - JBoss Community
The Netty project is an effort to provide an asynchronous event-driven network application framework and tools for rapid development...
Facebook | BigPipe: Pipelining web pages for high performance
Insertion/Deletion callbacks
All ActiveRecord associations except for has_many :through support callbacks for pre- and post-insertion/deletion via the following, self...
Copy a Paperclip attachment to another record
Just assign the existing attachment to another record: new_photo = Photo.new new_photo.image = old_photo.image Paperclip will duplicate the file when saving...
Force absolute URLs in views throughout a response
This is more tricky than it should be because url_for, asset_path, etc. all rely on different mechanisms.
Unobtrusive JavaScript and AJAX
Attached (see below) is some code to allow using unobtrusive JavaScript on pages fetched with an AJAX call.