Sha256: 22162fced8581d6fe9377c549691c36685757e507dbbec29109da0e732544465
Contents?: true
Size: 418 Bytes
Versions: 5
Compression:
Stored size: 418 Bytes
Contents
### Create Sequel plugin ``` module Sequel::Plugins::LuxHelp module ClassMethods def bla model # => refrence to model end end module InstanceMethods end module DatasetMethods end end Sequel::Model.plugin :lux_help ``` Default scope: http://stackoverflow.com/questions/11669880/default-scope-in-sequel ### init If init.rb is defined it will be called, else all files will be loaded.
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
lux-fw-0.5.37 | ./plugins/db/README.md |
lux-fw-0.5.36 | ./plugins/db/README.md |
lux-fw-0.5.35 | ./plugins/db/README.md |
lux-fw-0.5.34 | ./plugins/db/README.md |
lux-fw-0.5.33 | ./plugins/db/README.md |