On Sunday, November 4, 2012 6:01:23 AM UTC-8, François Beausoleil wrote:

> Well, I managed to fix my problem. I had to load the extension like this:
>
> Sequel::Model.db.extension :pg_array
>
> I found the proper way to load the extension in the source code at 
> lib/sequel/extensions/pg_array.rb.
>
> I did NOT find this documentation on 
> http://sequel.rubyforge.org/rdoc-plugins/classes/Sequel/Postgres/PGArray.htmlor
>  in the 3.35 release notes. Now that I've read the source, I see the 
> documentation is indeed extensive, but I didn't find the link to the 
> extensions' documentation from the main documentation site. Where should I 
> have looked?
>

For documentation on plugins/extensions, you should go 
to http://sequel.rubyforge.org/plugins.html and click on the appropriate 
plugin/extension.  For pg_array, that would 
be 
http://sequel.rubyforge.org/rdoc-plugins/files/lib/sequel/extensions/pg_array_rb.html,
 
which does explain how to load the extension.  Extension documentation is 
done at the file level and not the class level, as extensions are not tied 
to a particular class.

Thanks,
Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/_dJHQu5BUgMJ.
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