Here's a few I would find very useful orderable- provide move_up, move_down, move_to_top, move_to_bottom, move_to that updated a position field in the table tree- provide parent, children, ancestors, siblings timestamped- handle updated_at and created_at timestamps automatically searchable- provide full text search of certain fields via ferret/solr/ lucene/sphinx taggable- provide methods to add and remove tags for an entry versioned- store old versions on save and provide access to them
Our current serialize is probably a good candidate for a plugin as well. Most of these are available as acts_as_ plugins in AR and in Og (http://www.nitroproject.org/repo/view/og--lib--og--model) Aman Gupta On Nov 27, 12:29 am, Sharon Rosner <[EMAIL PROTECTED]> wrote: > On Nov 27, 7:14 am, Aman Gupta <[EMAIL PROTECTED]> wrote: > > > I'd love to see an easy way to extend Sequel::Model with plugins, ala > > acts_as with ActiveRecord > > Can you give an example or a use case? > > sharon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
