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
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
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.
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
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.
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...
When, a Rails plugin
Adds :if and :unless modifiers to before_filters, most ActiveRecord callbacks, and validations.
starling and asynchrous tasks in ruby on rails
a plugin called 'workling' that integrates starling into your rails app
SwitchPipe - Process Manager and Proxy for Rapid Web App Deployment
Version 1 of Peter Cooper's take on the 'Rails Deployment is Hard' problem.
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
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
Spreedly
A web service for handing subscription payments for other web services. Written in Rails. ActiveResource REST API. I think my head just exploded.
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.
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
Minimal Cart..
MinimalCart is very lightweight shopping cart plugin for Rails that leverages ActiveMerchant as a payment gateway.
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.
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.
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.
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.
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.
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.
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.
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
Mongrel Cluster and Monit - pmade inc.
A ruby script to update a monitrc file with the necessary configuration to monitor your entire mongrel cluster
Almost Painless Nested Resources
Nice DRY pattern for creating controllers that can be accessed in a nested scope and at root.