Ethan's commit #3: Fixed the model for investments.rb