Update attachment_on_the_fly.rb

using styles on the fly