Update attachment_on_the_fly.rb