On Thursday, September 25, 2014 9:05:22 AM UTC-7, Robin Tweedie wrote: > > Hi, > > I've been struggling to find a few methods in the documentation, and > noticed that the files with these methods, although documented, don't > appear in the rdoc index. > > eg. from the current latest tag > https://github.com/jeremyevans/sequel/blob/4.14.0/lib/sequel/adapters/shared/mysql.rb > > is well commented/documented, but I don't see methods like `update_ignore` > and `on_duplicate_key_update` in the rdoc method index. Is this intentional > or am I missing something? >
It is intentional. The RDoc on the website is split into 3 parts: Core/Model: http://sequel.jeremyevans.net/rdoc/index.html Adapters: http://sequel.jeremyevans.net/rdoc-adapters/index.html Extensions/Plugins: http://sequel.jeremyevans.net/rdoc-plugins/index.html update_ignore and on_duplicate_key_update are adapter specific methods, so they are documented in the adapters section. The reason for the split is the adapters, extensions, and plugins would clutter up the core/model RDoc, and make people think certain methods were always defined, when they are only defined if you specifically load a plugin/extension/adapter. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
