Update customer.rb

This commit is contained in:
ricky committed 2016-05-11 11:57:42 -04:00
1 parent 0c4b8a24d9
commit bac9778203
1 file changed
+1 -1
+1 -1
View File
@@ -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