Jesse Newland

228 Posts tagged with rails

Another comparison of HAProxy and Nginx « Affection Code

HAProxy maxconn 1 outperforms Nginx fair by a longshot. Let the load balancing part of your stack handle request queuing, not mongrel. That's not "fair" by any means.

The Rubyist

The Rubyist is a technical magazine focused on Ruby, Rails, Merb, and anything else that surrounds the programming language that we all know and love. Ordering my copy now.

A Thinking Man's Sphinx

ReinH explores the differences between UltraSphinx and ThinkingSphinx, and explains why is awesomer.

Thinking Sphinx

A concise and easy-to-use Ruby library that connects ActiveRecord to the Sphinx search daemon, managing configuration and searching.

Redesign your site in place using Rails custom mime types

Nifty use of Rails' mime-type support to support a 'beta' request format

The Rails Documentation App - Rails-doc.org

Lightning-fast keyword search with weighed sorting and community based notes inline with the documentation

Rails Framework Documentation

Edge rails docs generated nightly from the docrails project

The Endless Page

A nice implementation of the Endless Page AJAX Pattern

A List Apart: Issue 257 - The why and how of Ruby on Rails

ALA Takes on Ruby on Rails with two articles - one from my good friend Dan Benjamin, and another from Michael Slater

masquerade

masquerade is an Rails OpenID server released under the MIT-license

Rails 2.1 Time Zone Support: An Overview

Nice walkthrough of the new Rails TimeZone support

bounce

Nice, clean pattern for 301 redirects

Riding Rails: Rails is moving from SVN to Git

Edge Rails gets Declarative Gem Dependencies

config.gem 'GEMNAME' in environment.rb declares a gem as required. `rake gems:install` will then install all required gems.

ActiveRecord::Dirty

ActiveRecord now tracks changes to unsaved attributes

RailRoad diagrams generator

RailRoad is a class diagrams generator for Ruby on Rails applications.

bundle-fu

CSS/JS asset bundling plugin

ride_the_fireeagle

a Rails plugin that easily integrates your app with Fire Eagle, by yours truly

What's New in Edge Rails: Has Finder Functionality

Nick Kallen’s wildly popular has_finder plugin was just added to Edge, now called 'named_scope'

NestedHasManyThrough

This plugin makes it possible to define has_many :through relationships that go through other has_many :through relationships, possibly through an arbitrarily deep hierarchy

Paperclip

Paperclip is intended as an easy file attachment library for ActiveRecord. The intent behind it was to keep setup as easy as possible and to treat files as much like other attributes as possible.

rails_environments

Pretty Rails.production?, Rails.development?, Rails.test? and Rails.environment methods

assert_valid_markup

Validate your (X)HTML against the W3C Validator web service from within your functional tests.

Fire Eagle - Easily share your location online! Personalise lots of sites and services!

The first Rails app launched by Yahoo!. This is one sick web service

NginxHttpUpstreamFairModule

The upstream_fair module sends an incoming request to the least-busy backend server, rather than distributing requests round-robin.

Is edge Rails broken?

The latest in a meme I'm calling Boolean Web Services. Someone needs to write a standard for these and craft up a gem to consume them, i.e. BooleanWebService.new(:israilsbroken) => false

RailRoad diagrams generator

RailRoad is a class diagrams generator for Ruby on Rails applications.

The NullDB Connection Adapter Plugin

NullDB is the Null Object pattern as applied to ActiveRecord database adapters. It is a database backend that translates database interactions into no-ops.

Tarantula vs. your Rails app

Fuzzy Spider Integration Test, inspired by SpiderTest

db-populate

Plugin to help populate the development and production databases of Ruby on Rails projects

Simple Ruby SMTP Server / ActiveRecord Importer

SMTP server that imports emails sent to it into ActiveRecord

Process title support for Mongrel

This is a simple module which changes Mongrel's process title to reflect what it's currently doing. You can then determine a given Mongrel server's status using ps

Fixing attachment_fu on Edge Rails

Edge changeset 8664 introduces ActiveSupport::Callbacks. This currently breaks attachment_fu's callback internals and may affect other plugins as well...

delayed_job

Database based asynchronously priority queue system -- Extracted from Shopify

searchable

Adds a simple #search class method that does SQL searching behind the scenes.

pseudo_primary_key

Overrides find_one and to_param to use the given attribute

attr_hidden

Excludes attributes from serialization methods like to_xml and to_json

Nginxr

A ruby wrapper for nginx config files

When, a Rails plugin

Adds :if and :unless modifiers to before_filters, most ActiveRecord callbacks, and validations.

canhaschat

An XMPP chat plugin for use w/ Rails

What do you want to see in mod_rubinius?

Ezra asks the community...

backup_fu Makes Amazon S3 Backups Redonkulously easy

starling and asynchrous tasks in ruby on rails

a plugin called 'workling' that integrates starling into your rails app

git-rails

git-rails is a simple tool to help manage your rails app with git

FastSessions

Clever optimizations to Rails Sessions

Timezone awareness in Rails -- techno weenie

Hot new TimeWithZone support in Rails

Guerrilla's Guide to Optimizing Rails Applications

The Battle For Performance

SwitchPipe - Process Manager and Proxy for Rapid Web App Deployment

Version 1 of Peter Cooper's take on the 'Rails Deployment is Hard' problem.

Rails truncate helper that handles HTML tags and entities

truncate_html()

Savage Beast 2.0

Beast (a Rails forum), as a plugin, for Rails 2.0

Dr Nic » Get ready for the TextMate “Trundle to Rails 2.0 Bundle”

Dr. Nic has taken over and updated the Ruby on Rails TextMate bundle.

YAWS (Erlang) frontend for rails apps

Fuzed is a project attempting to use YAWS and erlang distribution to replace the conventional many-parts mongrel revproxy solution. Ultimately, the goal of the Fuzed project is to make a system which can easily deploy a rails app onto EC2

RailsConf 2008 Registration

Sign up quick - RailsConf sold out in 3 weeks last year

RSpec plain text story runner

Hot

SoftValidations

Provides an additional AR::Errors object, referred to as warnings, to ActiveRecord objects. Useful for noting that objects are valid but not in the desired 'complete' state.

friendly_id

Rails plugin for generating URL slugs. Automatically generates redirects if the field used to generate the slug changes

Rails Machine will be throwing a party at acts_as_conference

Get your pimp cups ready

Spreedly

A web service for handing subscription payments for other web services. Written in Rails. ActiveResource REST API. I think my head just exploded.

evented starling

defunkt is a badass. that is all.

AttributeFu

Syntactic sugar for multi-model forms

Rendering form partials

Syntactic sugar for the form-in-a-partial pattern

efficient-sql

To ensure your test cases call efficient MySQL

query-reviewer

An advanced mysql query analyzer for rails: runs 'EXPLAIN' before each of your select queries in development and summarizes query warnings.

sudo gem install starling

Starling is a light-weight persistent queue server that speaks the MemCache protocol. It was built to drive Twitter's backend, and is in production across Twitter's cluster.

Desert

Desert is a component framework for Rails that allows you to seamlessly define Models, Controllers, Views, Helpers, Routes, Migrations, and Plugin Dependencies in your plugins.

acts_as_state_machine

Great intro to acts_as_state_machine

Enhanced Acts As State Machine

A small enhancement to the very useful Acts As State Machine

simply_versioned

SimplyVersioned is a simple, non-invasive, approach to versioning ActiveRecord models

skynet

Skynet is an open source Ruby implementation of Google’s Map/Reduce framework, created at Geni.com. With Skynet, one can easily convert a time-consuming serial task, such as a computationally expensive Rails migration, into a distributed program running

rspec-on-rails-matchers

A collection of RSpec Matchers focused on specing Ruby on Rails projects

ZSFA -- Rails Is A Ghetto

In which Zed rants

Minimal Cart..

MinimalCart is very lightweight shopping cart plugin for Rails that leverages ActiveMerchant as a payment gateway.

Paginatin' Christmas — err.the_blog

will_paginate resources

acts_as_monkey

A Sample Rails' plugin for those not wise in the ways of science. Or something.

Jibberish

Javascript Localization for use with Gibberish

Beanstalk Messaging Queue

topfunky takes on Beanstalk

BackgrounDRb 1.0 released

Nice overview of the re-worked BackgroundDRb

Signal Wiki

Simple Rails Wiki

Beanstalk Client

This is a Ruby client library for the Beanstalk protocol.

Async Observer

Async Observer is a Rails plugin that provides deep integration with Beanstalk

The Rails Way (Book Review)

Lengthy review of my next deadtree purchase - The Rails Way by Obie Fernandez

spawn

This plugin provides a 'spawn' method to easily fork OR thread long-running sections of code so that your application can return results to your users more quickly.

Rails Edge Change: How to add a counter cache to an existing db table

A little gotcha that hit me recently as well

What's New in Edge Rails: Pluggable Controller Caching

Looks like the Rails caching code is getting some refactoring, as well as some new cache key management code.

Microformat helper for Ruby on Rails

The plugin currently provides helper methods for hAtom, basic hCard, and the datetime design pattern.

if_modified, second

Nice, clean approach to HTTP caching in Rails

DeHorrible: RESTifying SimpleDB

DeHorrible is a Rails proxy that RESTifies SimpleDB. Or if you insist, GETStifies your resources to use SimpleDB. Either way, it will keep your sensibilities intact.

Backgroundjob

Backgroundjob (Bj) is a simple to use background priority queue for rails.

RSpec 1.1

Tons of goodies, including the RSpec Story Runner.

SuperInPlaceControls

Better In-place Controls for Rails 2.0

Interlock

Interlock makes your view fragments and associated controller blocks march along together. If a fragment is fresh, the controller behavior won‘t run. It also automatically tracks invalidation dependencies based on the model lifecycle.

better rails caching

evan takes on caching

Beanstalkd

beanstalkd is a fast, distributed, in-memory workqueue service. Its interface is generic, but is intended for use in reducing the latency of page views in high-volume web applications by running most time-consuming tasks asynchronously.

Riding Rails: Rails 2.0: It's done!

DHH's writeup of Rails 2.0

Rails 2.0.1

In the true Rails tradition, 2.0.1 is out before anyone knew about 2.0.0 :)

Display Validation Errors For Your Ajaxified Form

Nice pattern for displaying validation errors for an AJAX-ed Form

Streamlined - Trac

Streamlined is a plugin for Ruby on Rails that provides an instant, production-ready UI for your ActiveRecord models.

Panasonic Youth – MultiRails 0.0.3 released

MultiRails lets you test your Rails plugin or app against many versions of Rails in one sweep.

Rails 2.0 Final Released!

Summary of Rails 2.0 Features

Rails 2.0 is out!

Setting up a new Rails app with Git

Want to be a dark-knight git-wielding Rails coder? Here’s a quick run-through of how you might set up git with a new Rails app.

[ANN] Giston; Piston lookalike for Git

Giston is a simple tool to help track svn vendor branches in your git repository. It’s loosely based on the idea of piston, but it’s more simplistic and it does less.

11 Tips on Hiring a Rails Developer

How to hire a good Rails Developer

RubyWorks Production Stack on Amazon EC2

RubyWorks EC2 Capistrano Recipes

err.the_blog.find_by_title('Evil Twin Plugin')

Duck-punch your Rails plugins without pissing off the Duck. Or something.

CarryOn

A plugin that allows you to freeze gems into vendor, including compiled extension for multiple platforms (!!!)

Masochism

Connection proxy sends some queries (thoes in a transaction, update statements, and ActiveRecord::Base#reload) to a master database, and the rest to the slave database

MultiRails

MultiRails allows easy testing against multiple versions of Rails for your Rails specific gem or plugin.

iPhone subdomains with Rails

sliding_session_timeout

By default, sessions in Rails expire at a fixed time from the moment they are created. This plugin lets you configure your sessions to expire in a sliding window, a fixed time from the last page view.

Cache-Control Header for Amazon S3

Nice quick monkey patch to save some cash on your s3 bill when used with attachment_fu

lazy_record

Proof of concept Lazy-Loading for ActiveRecord. Inspired by the 'kickers' of Ambition.

Ajax Pagination in less than 5 minutes

just implemented this. slick

Mongrel Cluster and Monit - pmade inc.

A ruby script to update a monitrc file with the necessary configuration to monitor your entire mongrel cluster

response_for

Allows you to decorate the respond_to block of actions on sublcassed controllers

Almost Painless Nested Resources

Nice DRY pattern for creating controllers that can be accessed in a nested scope and at root.

to_model, a complement for dom_id

Nice little hack: dom_id(@foo).to_model == @foo

MultiAppRouting