Update customer.rb

This commit is contained in:
2016-05-11 11:57:42 -04:00
parent 0c4b8a24d9
commit bac9778203

View File

@@ -19,7 +19,7 @@ class Customer < ActiveRecord::Base
validates_presence_of :id, :name validates_presence_of :id, :name
after_initialize :pull, unless: :skip_details after_initialize :pull
after_save :push after_save :push
self.primary_key = :id self.primary_key = :id