Displaying 2 results from an estimated 2 matches for "gaytan".
Did you mean:
gaetan
2010 Sep 13
13
what I've missed in routes.rb?
In routes.rb I''ve put:
resources :sessions
controller is:
class SessionsController < ApplicationController
def destroy
session[:id] = nil
session.delete(:casfilteruser)
CASClient::Frameworks::Rails::Filter.logout(self)
end
end
In application.html.erb I have:
<%= link_to ''Logout'', session_path(session[:cas_user]), :method => :delete %>
I
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).