Corrected sample_app/lib/foo.rb