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.
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.
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
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
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
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' }
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.
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.