Ruby Metaprogramming: Dynamically Inherited Methods™ | upstream agile - software

All methods generated by string_attr_reader are now added to that new module instead of the class. The result is that when overriding those methods you can now call super because they’re are inherited from the new module.

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 column, simply observe and record for some period of time all of the attribute accesses and then reuse this knowledge in the future to automatically optimize your subsequent query requests.

aanand's deadweight at master - GitHub

Deadweight is RCov for CSS, kind of. Given a set of stylesheets and a set of URLs, it determines which selectors are actually used and reports which can be "safely" deleted.

has_many :bugs, :through => :rails: Make your shoulda tests faster with fast_context

decided to go fixtureless with Shoulda + Factory Girl. All good, except one problem. Slow as fuck tests. So here’s fast_context as a solution for it. fast_context compiles all the ‘should’s within a context into a single test.

SecureRandom -- Stop writing your own random number and string generators - Momoro Machine

Stop writing your own random string generators. Rails does this for you.

The DevIL Image Library For Ruby « Like Dream of Banister Fiend

DevIL is a fast and lightweight image library that supports the loading and saving of images in almost any graphics format. It also provides some basic image manipulation functionality.

thumblemonks's riot at master - GitHub

Riot differs primarily in that it does not rerun setup for each test in a context.

Limelight

Limelight is a rich client GUI framework unlike any other. With a unique angle on GUI development, Limelight harnesses the power to develop a wide range of applications from business tools to games.

Railscasts - Embedded Association

Learn how to set up a one-to-many or many-to-many association which is entirely embedded into a single column through a string or bitmask.

xing's flag_shih_tzu at master - GitHub

A rails plugin to store a collection of boolean attributes in a single ActiveRecord column as a bit field.

Juggernaut

The Juggernaut plugin for Ruby on Rails aims to revolutionize your Rails app by letting the server initiate a connection and push data to the client. In other words your app can have a real time connection to the server with the advantage of instant updates.

eigenclass - Inspecting a live Ruby process, easier if you cheat.

Are you still adding printf/puts calls and restarting your app to figure what went wrong

NoSQL with MySQL in Ruby - Friendly

Store schema-less data in MySQL.

sinsiliux's Blueprints at master - GitHub

Another replacement for factories and fixtures that focuses on being DRY and making developers type as little as possible.

jimweirich's re at master - GitHub

Using the Re library, that regular expression can be built incrementaly from smaller, easier to understand expressions.

MailStyle: A HTML Email Plugin for Ruby on Rails | Purify Blog

MailStyle allows you to write the css for your html emails as you normally would, then writes the styles inline when you send your emails. It also makes sure that your image paths are absolute rather than relative.

gist: 268611 - GitHub

Make a Ruby class or module extend itself.

ActiveModel: Make Any Ruby Object Feel Like ActiveRecord « Katz Got Your Tongue?

Rails 2.3 has a ton of really nice functionality locked up in monolithic components. I’ve posted quite a bit about how we’ve opened up a lot of that functionality in ActionPack, making it easier to reuse the router, dispatcher, and individual parts of ActionController. ActiveModel is another way we’ve exposed useful functionality to you in Rails 3.

nakajima's slidedown at master - GitHub

Generate syntax-highlighted slides from Markdown

cwninja's inaction_mailer at master - GitHub

An ActionMailer delivery method to save mails as files in a directory.

cwninja's popthis at master - GitHub

So you downloaded inaction_mailer, and you had a folder full of e-mails generated while writing your app?