Update customer.rb

This commit is contained in:
2016-05-17 10:48:59 -04:00
parent 9876ebf6ed
commit cae904b5a8

View File

@@ -25,8 +25,8 @@ class Customer < ActiveRecord::Base
self.primary_key = :id
def self.all
without_callback(:initialize, :after, :pull) do
return all
Customer.without_callback(:initialize, :after, :pull) do
return Customer.all
end
end