Module Sequel::Plugins::ColumnConflicts::InstanceMethods
In: lib/sequel/plugins/column_conflicts.rb

Methods

Public Instance methods

If the given column has a getter method conflict, lookup the value directly in the values hash.

[Source]

    # File lib/sequel/plugins/column_conflicts.rb, line 89
89:         def get_column_value(c)
90:           if col = model.get_column_conflicts[c]
91:             self[col]
92:           else
93:             super
94:           end
95:         end

If the given column has a setter method conflict, set the value directly in the values hash.

[Source]

     # File lib/sequel/plugins/column_conflicts.rb, line 98
 98:         def set_column_value(c, v)
 99:           if col = model.set_column_conflicts[c]
100:             self[col] = v
101:           else
102:             super
103:           end
104:         end

[Validate]