Skip to content

Commit

Permalink
Merge pull request #12917 from nicogaldamez/ignore-name-column-for-cu…
Browse files Browse the repository at this point in the history
…stomers

Ignores name column on customer model
  • Loading branch information
filipefurtad0 authored Oct 31, 2024
2 parents 0d97f99 + 2e29426 commit a08b0a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 52 deletions.
2 changes: 2 additions & 0 deletions app/models/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
class Customer < ApplicationRecord
include SetUnusedAddressFields

self.ignored_columns += ['name']

acts_as_taggable

searchable_attributes :first_name, :last_name, :email, :code
Expand Down
52 changes: 0 additions & 52 deletions spec/migrations/split_customer_names_spec.rb

This file was deleted.

0 comments on commit a08b0a8

Please sign in to comment.