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

[Validate]