Update customer.rb

This commit is contained in:
ricky committed 2016-05-11 12:18:41 -04:00
1 parent cd4e21daf4
commit d48df86a49
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ class Customer < ActiveRecord::Base
validates_presence_of :id, :name validates_presence_of :id, :name
after_initialize :pull after_initialize :pull
after_save :push before_save :push
self.primary_key = :id self.primary_key = :id