module Sequel::Plugins::ColumnConflicts::InstanceMethods
Public Instance Methods
get_column_value(c)
click to toggle source
If the given column has a getter method conflict, lookup the value directly in the values hash.
Calls superclass method
# File lib/sequel/plugins/column_conflicts.rb, line 74 def get_column_value(c) if col = model.get_column_conflicts[c] self[col] else super end end
set_column_value(c, v)
click to toggle source
If the given column has a setter method conflict, set the value directly in the values hash.
Calls superclass method
# File lib/sequel/plugins/column_conflicts.rb, line 83 def set_column_value(c, v) if col = model.set_column_conflicts[c] self[col] = v else super end end