On Dec 13, 5:43 pm, mwlang88 <[email protected]> wrote:
> Hmmm...I thought I had the "automatic loading" working with this
> approach.
>
> I do this in my projects:
>
> require 'sequel'
> require 'sequel_plus'
>
> class Node < Sequel::Model
>    plugin :tree
> end
>
> ...are you saying that if I have "sequel_tree.rb" at the GEMS_PATH/
> sequel_plus/lib/sequel_tree.rb then all a developer needs to do is:
>
> require 'sequel'
>
> class Node < Sequel::Model
>    plugin :tree
> end
>
> To pick up the new plugin?  That is, no need to require sequel_plus
> nor sequel_tree to find the Tree plugin?

That is correct.

> > Also, do you want me to add this to the plugins.html page on the
> > website?
>
> Yes.

OK.  Please let me know whether you plan to rename the plugin, as that
might affect where I link to (if you change the github repo name, for
example).

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.


Reply via email to