Sha256: e68951e6ee6e9c0e3a429bda3fea4d504d69138ce21194ac35e17cbc93eaf635
Contents?: true
Size: 601 Bytes
Versions: 10
Compression:
Stored size: 601 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
10 entries across 10 versions & 1 rubygems