paperclipftp
paperclipftp copied to clipboard
Ftp storage support for paperclip file attachment
Adds missing instance variables due to creation of new paperclip options class.
paperclipftp works perfectly when developing in ruby 1.8.7 but if i switch to 1.9.2 using rvm in mac os x i get this error when i start the webbrick server...
I get this error when I tried to upload a file in Active Admin. I'm using ruby 1.9.3, Rails 3.2.5 and paperclip 3.0.4. My model: ``` ruby class FinanceData <...
I have the following model (with omitted sensitive info): ``` class Asset < ActiveRecord::Base has_attached_file :file, :styles => { :thumb => ["100x100>", ".png"] }, :path => "/app/#{ Rails.env}/:attachment/:id/:style/:filename", :url =>...
I'm getting this error: `@[]' is not allowed as an instance variable name when using paperclipftp with Rails 3.1
create a new file as config/environment.rb and add this code: ``` Rails::Initializer.run do |config| ... config.after_initialize do if Rails.env == 'development' Paperclip::Attachment.default_options.merge!(:storage => :ftp) end end end ```