spec/internal/app/models/area.rb in global-registry-bindings-0.1.2 vs spec/internal/app/models/area.rb in global-registry-bindings-0.1.3
- old
+ new
@@ -1,8 +1,7 @@
# frozen_string_literal: true
class Area < ApplicationRecord
has_many :organizations
- global_registry_bindings include_all_columns: false,
- extra_fields: { area_name: :string, area_code: :string, is_active: :boolean }
+ global_registry_bindings fields: { area_name: :string, area_code: :string, is_active: :boolean }
end