Jesse Newland

30 Posts tagged with activerecord

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.

Rails 2.1 Time Zone Support: An Overview

Nice walkthrough of the new Rails TimeZone support

ActiveRecord::Dirty

ActiveRecord now tracks changes to unsaved attributes

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.

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.

Simple Ruby SMTP Server / ActiveRecord Importer

SMTP server that imports emails sent to it into ActiveRecord

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

When, a Rails plugin

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

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

AttributeFu

Syntactic sugar for multi-model forms

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

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

lazy_record

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

to_model, a complement for dom_id

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

Ambition - SQL generation using Ruby's Enumerable class

Wanstrath is crazy smart. This is crazy awesome: User.detect { |u| u.email =~ 'chris%' && u.profile.blog == 'Err' }

err.the_blog.find_by_title('I Will Paginate')

Nice simple pagination for Rails apps

acts_as_with_readonly

acts_as_with_readonly is a Rails plugin to support slave-DB for finders in AR models

Magic Multi-Connections

Magic Multi-Connections allows you to write your models once, and use them for multiple database Rails databases at the same time. How? Using magical namespacing.

err.the_blog.find_by_title('Sexy Migrations')

DRY syntax for Active Record Migrations

Ideas For Dozens: learns_to use acts_as_versioned

Nice writeup of acts_as_versioned, a Rails plugin providing wiki-like versioned behavior for any model.
next page »
What is this?