Recently we received a few emails asking how to store files on the local file-system, instead of using Amazon S3. To do this you will need to change the following line in app/models/asset.rb:

has_attachment :max_size => 1.gigabyte, :min_size => 0, :storage => :s3

to:

has_attachment :max_size => 1.gigabyte, :min_size => 0, :storage => :file_system, :path_prefix => “assets/development”

Assets will then be stored in the folder assets/development