def path(style = self.default)
      path = self.attached? ? @path.clone : @missing.clone
      path.gsub!(/:name/, name.to_s)
      path.gsub!(/:style/, style.to_s)
      path.gsub!(/:extension/, extension(style).to_s)
      path.gsub!(/:identifier/, identifier(style).to_s)
      return path
    end
def path(style = self.default)
      path = self.attached? ? @path.clone : @missing.clone
      path.gsub!(/:name/, name.to_s)
      path.gsub!(/:style/, style.to_s)
      path.gsub!(/:extension/, extension(style).to_s)
      path.gsub!(/:identifier/, identifier(style).to_s)
      return path
    end
Access the path for an attachment.

 Usage:

   @object.avatar.url
   @object.avatar.url(:small)
   @object.avatar.url(:large)