Thanks for the answer, that probably would have fixed it, that seems
to be a key for the filepath hash.

I ended up using attachment_fu plugin which had some problems too with
the new ruby but I got it working finally.


On 30 maalis, 18:37, Matt Jones <[email protected]> wrote:
> On Mar 30, 2011, at 6:49 AM, RanzQ wrote:
>
> > Hi,
>
> > I followed this tutorial:
>
> >http://cookbook.hobocentral.net/plugins/paperclip_with_hobo
>
> > But when I try open the new-page of my model, I get this error:
>
> > Unable to generate hash without :hash_secret
>
> > It seems to be raised from the hash() method in Paperclip::Attachment.
>
> > What should I do to fix this?
>
> Looks like you'll need to pass :hash_secret to the has_attached_file method 
> in your model.
>
> --Matt Jones

-- 
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.

Reply via email to