Update customer.rb

This commit is contained in:
2016-05-17 12:47:17 -04:00
parent b5eb3e2568
commit dcfe88b447

View File

@@ -26,7 +26,7 @@ class Customer < ActiveRecord::Base
def all def all
without_callback(:initialize, :after, :pull) do without_callback(:initialize, :after, :pull) do
Customer.all Customer.all.sort
end end
end end