Sha256: 6204030d562570c643a75f3984dc4aeb8387bb67b04a8b44e5f1e3098a01ded6
Contents?: true
Size: 746 Bytes
Versions: 3
Compression:
Stored size: 746 Bytes
Contents
# ActsAsAssetable ## Usage ### Install sudo gem install acts-as-assetable ### Basics class Post < ActiveRecord::Base acts_as_assetable_on :images do styles :medium => "300x300>", :thumb => "120x120#", :tiny => "50x50#", :micro => "20x20#" storage do s3 => {:key => "my_key", :secret => "my_secret"} end end acts_as_assetable_on :videos do storage do vimeo => {:key => "my_key", :secret => "my_secret"} youtube => {:key => "my_key", :secret => "my_secret"} end end end ### Helpful Links http://github.com/nathancolgate/s3-swf-upload-plugin http://www.therailsway.com/2009/4/23/uploading-files
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
acts-as-assetable-0.0.2.1 | README.markdown |
acts-as-assetable-0.0.2.0 | README.markdown |
acts-as-assetable-0.0.1.5 | README.markdown |