search for: public_read

Displaying 2 results from an estimated 2 matches for "public_read".

2010 Aug 09
5
Paperclip - Amazon S3 - https
I am able to use Paperclip to save files to Amazon''s S3 storage. Once saved, the files are available using a URL associated with the bucket and filename. I have not been able to find a good tutorial which clearly explains how to save a file to S3 (using Paperclip) whereby it can only be retrieved using https, and only for a limited time period (which I understand is a function of S3).
2007 Mar 18
5
Automatically mocking ActiveRecord methods
Seems like I do a fair amount of mocking ActiveRecord''s automatically generated routines when I''m testing controllers. Things like: @portalspace = PortalSpace.new :public_readable => true, :public_writable => true, :name => ''public'' @portalspace.stubs(:id).returns(203) PortalSpace.stubs(:find).with(203).returns(@portalspace) PortalSpace.stubs(:find).with(''203'').returns(@portalspace) PortalSpace.stubs(:find).wit...