you have a controller that handles the file access then? On May 31, 3:04 am, Tom <[email protected]> wrote: > I store pictures in DB using Pat Shaughnessy's Paperclip (could be > done with attachment_fu) and I can't get to them through URL's. I get > this when I try: > > Unknown action > > No action responded to 2. Actions: access_denied, > authenticated_user_from_cookie, authorized?, avatars, create, > create_auth_cookie, destroy, edit, ht, index, login_from_cookie, > login_required, model, new, non_ssl_host, non_ssl_host=, > redirect_back_or_default, show, ssl_host, ssl_host=, store_location, > and update > > Attachment: > has_attached_file :avatar, :url => "/:class/:id/:attachment? > style=:style" > the link ishttp://localhost:3000/workers/2/avatars?style=original&1275292020 > > how can I route links to correct files stored in DB?
-- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
