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 74
74:         def get_column_value(c)
75:           if col = model.get_column_conflicts[c]
76:             self[col]
77:           else
78:             super
79:           end
80:         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 83
83:         def set_column_value(c, v)
84:           if col = model.set_column_conflicts[c]
85:             self[col] = v
86:           else
87:             super
88:           end
89:         end

[Validate]