BlogFish: Ruby on Rails Security

Recently I've been made aware of people inside US Government organizations using my Ruby on Rails Security presentation as an excuse to limit Ruby on Rails adoption and projects inside those organizations.

Basement.org: On The Web, More Isn’t Only Less, It’s Actually Nothing

Amidst my 400 unread Boing Boing links are probably ten or fifteen that are probably real gems. But I’ll never know and Boing Boing sure as hell isn’t going to help me out.

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 job done.

citrusbyte's stories at master - GitHub

Pure-Ruby alternative to Cucumber.

Tracking Down Slow-Running Examples in RSpec » Idol Hands: An Alpha Geek Guide to Ruby on Rails, DIY, and More

Passing the --profile flag to RSpec produces some additional output, namely the running times of the ten slowest examples in your specs.

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.