larsklevan / attachment_fu_app_engine

An AttachmentFu storage backend which uses Google App Engine for storage and image processing

This URL has Read+Write access

attachment_fu_app_engine / initializer.rb.tpl
100644 7 lines (5 sloc) 0.45 kb
1
2
3
4
5
6
7
# if you're using this in production I'd recommend creating your own app engine app with the provided backend code
# see http://code.google.com/appengine/
Technoweenie::AttachmentFu::Backends::AppEngineBackend.base_url = "http://attachment-fu-gae.appspot.com"
 
# storage prefix prevents collision between multiple apps using the same app engine for storage
Technoweenie::AttachmentFu::Backends::AppEngineBackend.storage_prefix = "<%= rand(10e12) %>"