Permalink
Browse files

Update RDoc for Sequel::Model

  • Loading branch information...
1 parent f36da00 commit dd6034753b6894ccf1806dc8ea8bdfa9ff05f68c @jeremyevans committed Jul 13, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/sequel/model.rb
View
@@ -49,10 +49,11 @@ def self.Model(source)
# called directly on the class. Model datasets return rows as model instances,
# which have fairly standard ORM instance behavior.
#
- # <tt>Sequel::Model</tt> is built completely out of plugins, the only method not part of a
- # plugin is the plugin method itself. Plugins can override any class, instance, or
- # dataset method defined by a previous plugin and call super to get the default
- # behavior.
+ # <tt>Sequel::Model</tt> is built completely out of plugins. Plugins can override any class,
+ # instance, or dataset method defined by a previous plugin and call super to get the default
+ # behavior. By default, <tt>Sequel::Model</tt> loads two plugins, <tt>Sequel::Model</tt>
+ # (which is itself a plugin) for the base support, and <tt>Sequel::Model::Associations</tt>
+ # for the associations support.
#
# You can set the +SEQUEL_NO_ASSOCIATIONS+ constant or environment variable to
# make Sequel not load the associations plugin by default.

0 comments on commit dd60347

Please sign in to comment.