class Formily::PaperclipConfig
Paperclip gem config
Attributes
path[RW]
The files that are assigned as attachments are, by default, placed in the directory specified by this option.
url[RW]
The full URL of where the attachment is publicly accessible.
use_timestamp[RW]
Public Class Methods
new()
click to toggle source
# File lib/formily/config.rb, line 63 def initialize @path = ':rails_root/public/formily_file/:id/:style_:basename.:extension' @url = '/formily_file/:id/:style_:basename.:extension' # @default_url = '' @use_timestamp = false end