Idea for moving the average and probability methods - ljones140/Pet-Dump GitHub Wiki

Create in classes as class methods in lib/assets.

then in controller for pets pass in the pet.

def dumps
  @pet = Pet.find blah
  @dump = Dump.find
  @average = Average.new(@pet, @dump).calculate
end