From bac9778203e4be3db8180cfa2ace4b8869cab534 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 11 May 2016 11:57:42 -0400 Subject: [PATCH] Update customer.rb --- app/models/customer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/customer.rb b/app/models/customer.rb index 241dc77..49ddd45 100644 --- a/app/models/customer.rb +++ b/app/models/customer.rb @@ -19,7 +19,7 @@ class Customer < ActiveRecord::Base validates_presence_of :id, :name - after_initialize :pull, unless: :skip_details + after_initialize :pull after_save :push self.primary_key = :id