module Sequel::Plugins::SkipSavingColumns::ClassMethods

  1. lib/sequel/plugins/skip_saving_columns.rb

Methods

Public Instance

  1. skip_saving_columns
  2. skip_saving_columns=

Attributes

skip_saving_columns [R]

An array of column symbols for columns to skip when saving.

Public Instance methods

skip_saving_columns=(v)

Over the default array of columns to skip. Once overridden, future changes to the class’s dataset and future subclasses will automatically use these overridden columns, instead of introspecting the database schema.

[show source]
   # File lib/sequel/plugins/skip_saving_columns.rb
54 def skip_saving_columns=(v) 
55   @_skip_saving_columns_no_override = true
56   @skip_saving_columns = v.dup.freeze
57 end