# 404 error messages

**URL:** <https://www.ruby-forum.com/t/404-error-messages/103553>\
**Category:** Radiant CMS\
**Created:** [May 7, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/404-error-messages/103553 "2007-05-07T20:37:51Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [May 25, 2009, 8:37am UTC](https://www.ruby-forum.com/t/404-error-messages/103553/21 "2009-05-25T08:37:37Z")

</div>

Mohit S. wrote:

> - BlogTags  
> I found this in page\_attachments\app\models\page\_attachment.rb:
> 
> has\_attachment :storage =\> :file\_system,  
> :thumbnails =\> defined?(PAGE\_ATTACHMENT\_SIZES) &&  
> PAGE\_ATTACHMENT\_SIZES || {:icon =\> ‘50x50\>’},  
> :max\_size =\> 10.megabytes
> 
> This tends to suggest that files up to 10MB should be fine? Any idea  
> what I should look for? (I’m on Windows, running Radiant 0.7.1 on  
> ruby 1.8.6)

_bump_

Cheers,  
Mohit.  
5/24/2009 | 9:33 PM.

---

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [April 18, 2009, 2:30pm UTC](https://www.ruby-forum.com/t/404-error-messages/103553/22 "2009-04-18T14:30:59Z")

</div>

Great suggestion! I’ve added it as an issue on GitHub. I don’t have  
time to implement it right now, but I’d welcome patches/forks.

> **[Issues · jgarber/radiant-textile\_editor-extension](https://github.com/jgarber/radiant-textile_editor-extension/issues#issue/)**
>
> Adds a toolbar to make editing pages and snippets written in Textile easier. - Issues · jgarber/radiant-textile\_editor-extension

1

Jason

---

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [May 25, 2009, 9:29am UTC](https://www.ruby-forum.com/t/404-error-messages/103553/23 "2009-05-25T09:29:50Z")

</div>

N. Turnage wrote:

> > > 
> > 
> > _bump_
> 
> I suggest you drop page\_attachments in favor of Paperclipped. It’s  
> easier to manage image sizes and mime-types (you can do both with the  
> settings extension) and page\_attachments will prevent you from using  
> the change\_author extension (I got bitten by this one) if you decide  
> to use it. It’s also much easier to use in day-to-day operations with  
> its bucket that will allow you to upload and attach images from the  
> same place.  
> Hi Nate,

Thanks for the advice. I’m tempted to use PageAttachments firstly  
because I was using it earlier 🙂 and the site I’m trying to do is a  
technical articles site, so it makes a lot of sense to attach images to  
the pages on which the articles appear. Admittedly, I’ve not used  
PaperClipped so I"m not sure if that’s how it works - but the talk of  
buckets (that I’ve heard elsewhere also) tends to suggest common pools  
rather than page-wise attachments. However, I have need for  
Paperclipped also for certain types of site-wide needs, but I’m scared  
to even start putting Paperclipped and PageAttachments together 😛

Cheers,  
Mohit.  
5/24/2009 | 10:26 PM.

---

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [May 25, 2009, 9:14am UTC](https://www.ruby-forum.com/t/404-error-messages/103553/24 "2009-05-25T09:14:00Z")

</div>

Mohit S. wrote:

> > I found this in page\_attachments\app\models\page\_attachment.rb:  
> > _bump_  
> > I suggest you drop page\_attachments in favor of Paperclipped. It’s  
> > easier to manage image sizes and mime-types (you can do both with the  
> > settings extension) and page\_attachments will prevent you from using the  
> > change\_author extension (I got bitten by this one) if you decide to use  
> > it. It’s also much easier to use in day-to-day operations with its  
> > bucket that will allow you to upload and attach images from the same  
> > place.

~Nate

---

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [May 25, 2009, 9:49am UTC](https://www.ruby-forum.com/t/404-error-messages/103553/25 "2009-05-25T09:49:45Z")

</div>

michael starke wrote:

> to attach items to pages, so you can, as you woudl do with
> 
> So all in all (and that’s the reason i switched) paperclipped is more  
> flexible and offers a superset of functionality over page\_attachments.

Hi Michael

That’s a very convincing case - I’m going to try PaperClipped. For one  
of my sites, I’ll leave it at PageAttachments for the time being, but  
for the one I’m working on, I’m going to try Paperclipped.

Cheers,  
Mohit.  
5/24/2009 | 10:45 PM.

---

<div class="post-metadata">

**Author:** ![calande](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/edb3f5/32.png) [@calande](https://www.ruby-forum.com/u/calande)\
**Post date:** [May 25, 2009, 9:42am UTC](https://www.ruby-forum.com/t/404-error-messages/103553/26 "2009-05-25T09:42:42Z")

</div>

On 24.05.2009, at 16:26, Mohit S. wrote:

> > > > files (tried up to 14KB) but larger files (more than 30KB) seem  
> > > > idea what I should look for? (I’m on Windows, running Radiant  
> > > > operations with its bucket that will allow you to upload and attach  
> > > > need for Paperclipped also for certain types of site-wide needs, but  
> > > > I’m scared to even start putting Paperclipped and PageAttachments  
> > > > together 😛
> 
> Cheers,  
> Mohit.  
> 5/24/2009 | 10:26 PM.

Hello Mohit,

paperclipped comes with a fine installation routine that even imports  
your old attachments (and images) and moves them to it’s default  
location. Look at the github page, there should be a rake task for  
mirgration form page\_attachments. At least that’s how i remember it -  
i mirgrated only one image, but it shoudl still work with more than  
one 😉

And paperclipped does use a central media pool BUT you still are able  
to attach items to pages, so you can, as you woudl do with  
page\_attachments before, access attachments on pages and get only the  
ones attached to this page (but you also cold use som arbitratry ones  
by direktly including them)  
The radiant tags are a bit different, but cycling throuhg attachments  
and testing for them (with mime type filters) is an easy task.

So the attachments thing is still in there. The bucket is for  
attaching items to different pages. You add them to the bucket “to  
carry them around”, and then you can attach items form the bucket to  
pages you’re editing.

So all in all (and that’s the reason i switched) paperclipped is more  
flexible and offers a superset of functionality over page\_attachments.

Greetings  
michael

> * * *
> 
> Radiant mailing list  
> Post: removed\_email\_address@domain.invalid  
> Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

_ **m i c h a e l s t a r k e** _\_  
co-founder of  
HicknHack Software GbR  
[www.hicknhack.com](http://www.hicknhack.com)  
Graphics

_ **c o n t a c t** _\_  
+49 (170) 3686136  
+49 (351) 4045428  
removed\_email\_address@domain.invalid

_ **H i c k n H a c k S o f t w a r e G b R** _\_  
maik lathan - andreas reischuck - michael starke  
hübnerstraße 8  
01069 dresden - germany

[Previous page](https://www.ruby-forum.com/t/404-error-messages/103553.md?page=1)
