Page_attachment extension help

**Hi. I’ve not found an example of usage of the page_attachment
extension. Sean’s site seems down.

How do I practically use it inside a page?

For example, if I enter this statements (textile filter):

<r:attachment name=‘pasticcio’ />
<r:attachment:url name=‘ciccio’ />

I get the following error:

undefined method `public_filename’ for nil:NilClass

I freezed radiant and did the rake tasks as suggested. The file is
uploaded correctly. I just don’t understand how to assemble the tags in
a page. Could someone provide a simple example?

Thank you!


It would give you the nil error if you give an incorrect filename.
Try giving the full filename, like
‘ciccio.jpg’ or whatever type it is.

You can see the filenames next to the thumbnail in the page-edit
interface. Apologies about my website. If it’s down, wait about 30
minutes and check again (I have a cron job that restarts it every