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

Version Path
clevic-0.14.6 lib/clevic/sequel_naked.rb
clevic-0.14.5 lib/clevic/sequel_naked.rb
clevic-0.14.4 lib/clevic/sequel_naked.rb
clevic-0.14.3 lib/clevic/sequel_naked.rb
clevic-0.14.2 lib/clevic/sequel_naked.rb
clevic-0.14.1 lib/clevic/sequel_naked.rb
clevic-0.14.0 lib/clevic/sequel_naked.rb
clevic-0.13.0.b12 lib/clevic/sequel_naked.rb
clevic-0.13.0.b11 lib/clevic/sequel_naked.rb
clevic-0.13.0.b10 lib/clevic/sequel_naked.rb