Bharat
2008-Jul-30 13:17 UTC
Re: Way to limit file upload size using file_column or attachment_fu
Check out Attachment Fu plugin. It has options for setting the max limit on the size of the file that can be uploaded. I am no expert in it, but don''t need to. I just followed the recipes in Advanced Rails Recipes by Mike Clark. Well worth the money since you can quickly find out the answers to these questions. Bharat On Jul 29, 3:19 pm, DavidB <davidbad...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> While I know this can be done with some flas based solutions, how can > one limit the size of an upload to an RoR application within the > application rather than via apache''s configuration? I just don''t want > anyone trying to upload a 100mb file. > > thanks > > David--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---