Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Sep 30, 2010
Commits on Sep 29, 2010
Commits on Sep 21, 2010
Commits on Sep 16, 2010
Commits on Sep 9, 2010
Commits on Aug 31, 2010
Commits on Aug 29, 2010
Commits on Aug 26, 2010
Commits on Aug 21, 2010
  1. Switch to hosting presentations on heroku

    Most of the presentations were stored on the
    site, but were not added to the repository.  However, the MWRC 2009
    presentation was added to the repository, and this commit removes
Commits on Aug 6, 2010
Commits on Jul 17, 2010
Commits on Jun 23, 2010
Commits on Jun 8, 2010
  1. Add a Tree plugin for treating model objects as being part of a tree

    This is based on the sequel_tree plugin originally part of
    sequel_plus.  It provides similar features to rcte_tree, but
    works on databases that don't support recursive common table
    expressions.  Additionally, it offers features not previously
    supported by rcte_tree, such as tree roots and siblings.
    rcte_tree now loads the tree plugin, so you have all of the
    advantages of the tree plugin when using rcte_tree.  Because
    of ruby's method lookup process, a separate module is used for
    the rcte_tree methods, as when they were loaded in the standard
    way, the tree plugin instance methods overrode the rcte_plugin
    association methods.
  2. Add list plugin, based on sequel_orderable

    sequel_orderable was based on ActiveRecord's acts_as_list, and the
    list plugin offers similar features of finding other items in the
    list and modifying the position of items in the list, which requires
    shifting the position of other items in the list.
Commits on Jun 4, 2010
  1. Add a XmlSerializer plugin for serializing/deserializing model object…

    …s to/from XML
    This is similar to the JsonSerializer plugin committed a few days
    ago, but for XML instead of JSON.  See the plugin RDoc for details.
Commits on Jun 2, 2010
  1. Add a JsonSerializer plugin for serializing model objects to JSON

    This uses the json library to convert Sequel::Model objects to
    JSON.  See the module documentation for JsonSerializer for usage.
Commits on May 27, 2010
  1. Add an AssociationPks plugin that adds association_pks and associatio…

    …n_pks= methods for *_to_many associations
    These methods allow you to get the primary keys for all associated
    objects, and to modify which objects are associated by passing an
    array of keys to the setter.  The setter will add entries from the
    array that are not already associated, and remove already associated
    entries that are not in the array.
    This is a fairly low level plugin that operates at the dataset
    level and does not instantiate model objects.  This is faster but
    it means that callbacks will not be called.  Also, this only
    works with single primary keys, not composite primary keys.
Commits on May 26, 2010
  1. Add a UpdatePrimaryKey plugin that allows you to update the primary k…

    …ey of a model object
    This plugin just caches a copy of the primary key values when the
    object is loaded from the database, and uses the cached copy
    until after the object is saved, so that if you modify the primary
    key value, it will use the previous value in the UPDATE WHERE
    clause, and the new value in the SET clause.
    This causes a substantial performance hit when loading model
    objects, though the model load time is is generally small compared
    to time spent in the lower levels of the stack.
Commits on May 24, 2010
Commits on May 21, 2010
Commits on May 20, 2010
Commits on May 18, 2010
Commits on May 11, 2010
  1. Replace the Schema Modification guide with a much more detailed Migra…

    …tions and Schema Modification guide
Commits on May 10, 2010
  1. Add sharding plugin

    The sharding plugin makes Sequel::Model objects work well with Sequel's
    sharding support.  It allows you to create objects on specific shards.
    It remembers which shard you used to retrieve an object, and saves it
    back to that shard.  It also works with associations, so associated
    objects and association modification methods only deal with the same
    shard as the main object.
Commits on May 5, 2010
  1. Add querying guide

    A partial version was committed by mistake earlier.  This could
    probably use some fleshing out, but it's a good first start.
Commits on Apr 21, 2010
Commits on Apr 17, 2010
Commits on Apr 15, 2010
  1. Add Dataset Basics RDoc file

Commits on Apr 9, 2010
  1. Add instance_filters plugin, for adding arbitrary filters when updati…

    …ng/destroying the instance
    This plugin is designed for cases where you would normally have to
    drop down to the dataset level to get the necessary control, because
    you only want to delete or update the rows in certain cases based on
    the current status of the row in the database.
Commits on Apr 8, 2010
  1. Remove sequel_cascading from the list of external plugins, since asso…

    …ciation_dependencies can fulfill its need
Something went wrong with that request. Please try again.