I've just added a bunch more commits that deprecate a lot of the method additions to the core classes, as well as moving the following model features to plugins:
* Caching * Single Table Inheritance * Schema Methods * Hook Class Methods * Validation Class Methods Also, Sequel::Model and Sequel::Model::Associations are now both plugins. After the deprecated methods are removed, they will be the only two plugins loaded by default. This new setup makes it much easier to have plugins make global changes to all models, simply by doing Model.plugin :my_cool_plugin. You can override pretty much any class, instance, or dataset method, and call super to get the default behavior. See how the above features are implemented as plugins for an example. The deprecation in sequel_model is pretty much complete. I'm going to be moving some sequel_core features to extensions next. If I've deprecated something and not added a plugin/extension for it, and you think it would be a good idea to have a plugin/extension for it, please post here with your reasons so I can consider them. Thanks, Jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
