Attached is a Ruby on Rails file attachment tool that lets users upload to the cloud. The gem supports AWS, Google and Rackspace for storage networks by default. It is influenced (and copied) from Paperclip and makes heavy use of the incredibly awesome Fog library.
== Requirements
The gem is tested with:
Ruby on Rails 4.1.2
Ruby on Rails 4.0.6
Ruby 2.1.2
Ruby 2.0.0
Ruby 1.9.3
JRuby
== Installation
gem install attached
== Optional
brew install imagemagick
brew install lame
== Examples
Migration:
rails g model video name:string encoding:attachment
class CreateVideo < ActiveRecord::Migration
def self.up
create_table :videos do |t|
t.string :name
t.attachment :encoding
t.timestamps
end
end
def self.down
drop_table :videos
end
Copyright (c) 2010 - 2014 Kevin Sylvestre. See LICENSE for details.
FAQs
Unknown package
We found that attached demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.
Package last updated on 04 Dec 2014
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.