07 Oct '13, 4pm

@igor_alexandrov Already there:

code_order.rdoc doc/code_order.rdoc Last Update: 2013-06-06 17:24:35 -0700 Code Order In Sequel , the order in which code is executed is important. This guide provides the recommended way to order your Sequel code. Some of these guidelines are not strictly necessary, but others are, and this guide will be specific about which are strictly necessary. Require Sequel This is sort of a no brainer, but you need to require the library first. This is a strict requirement, none of the other code can be executed unless the library has been required first. Example: require 'sequel' Add Global Extensions Global extensions are loaded with Sequel.extension , and affect other parts of Sequel or the general ruby environment. It's not necessary to load them first, but it is a recommended practice. The exception to this is global extensions that integrate with Database-specific extensions,...

Full article: http://sequel.rubyforge.org/rdoc/files/doc/code_order_rdo...

Tweets