Sha256: 186b87d493361d28936be9ba253ffb1c265d82d242a0c2448664035e7e33b6d6
Contents?: true
Size: 631 Bytes
Versions: 6
Compression:
Stored size: 631 Bytes
Contents
require 'sequel' module Sequel module Plugins # Fix the naked call to do the following: # - remove the row_proc # - remove the model method, or make it return nil # - fix the destroy method. Not sure what this means right now. module Naked def self.configure(model, options = {}) model.instance_eval do # store model-related stuff here end end module ClassMethods def inherited(subclass) super end def naked( *args ) end end module InstanceMethods end end end end
Version data entries
6 entries across 6 versions & 1 rubygems