Module: Sequel::Plugins::Naked

Defined in:
lib/clevic/sequel_naked.rb

Overview

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.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(model, options = {}) ⇒ Object



10
11
12
13
14
# File 'lib/clevic/sequel_naked.rb', line 10

def self.configure(model, options = {})
  model.instance_eval do
    # store model-related stuff here
  end
end