def save
      buffer = render

      File.open(path, 'wb') { |f| f.write(buffer.string) }
    end
def save
      buffer = render

      File.open(path, 'wb') { |f| f.write(buffer.string) }
    end
============ SAVING ==================================