Module: RecordNotUnique::InstanceMethods
- Defined in:
- lib/record_not_unique.rb
Instance Method Summary collapse
Instance Method Details
#save ⇒ Object
43 44 45 46 47 |
# File 'lib/record_not_unique.rb', line 43 def save(**, &block) handle_custom_unique_constraint { super } end |
#update_column(name, value) ⇒ Object
29 30 31 32 33 |
# File 'lib/record_not_unique.rb', line 29 def update_column(name, value) handle_custom_unique_constraint { super(name, value) } end |
#update_columns(attributes) ⇒ Object
35 36 37 38 39 |
# File 'lib/record_not_unique.rb', line 35 def update_columns(attributes) handle_custom_unique_constraint { super(attributes) } end |