<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Three Ruby on Rails File Upload Plugins reviewed</title>
	<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html</link>
	<description>never too late to make the web more usable and beautiful</description>
	<pubDate>Fri, 16 May 2008 02:28:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: michal</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-48923</link>
		<author>michal</author>
		<pubDate>Thu, 15 May 2008 23:43:52 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-48923</guid>
		<description>hm, do you have any workaround for mongrel instance hanging while the file is being uploaded ?</description>
		<content:encoded><![CDATA[<p>hm, do you have any workaround for mongrel instance hanging while the file is being uploaded ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roobnoob</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-47590</link>
		<author>roobnoob</author>
		<pubDate>Thu, 10 Apr 2008 21:13:20 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-47590</guid>
		<description>To Alex Wayne:

Alex, try to design the plugin so that the location of the uploaded file is parametrized in some fashion. This should be determined by the user of the api, not internally in the api. This will make it much more flexible.</description>
		<content:encoded><![CDATA[<p>To Alex Wayne:</p>
<p>Alex, try to design the plugin so that the location of the uploaded file is parametrized in some fashion. This should be determined by the user of the api, not internally in the api. This will make it much more flexible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roobnoob</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-47589</link>
		<author>roobnoob</author>
		<pubDate>Thu, 10 Apr 2008 19:54:28 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-47589</guid>
		<description>Question. How does one deal with large file uploads thread-wise? Since rails is not thread-safe, there's only one thread running per process. If you've got an upload that might take a few minutes, that particular process can't do the other work (right?). So does one just fire up a large pack of processes?</description>
		<content:encoded><![CDATA[<p>Question. How does one deal with large file uploads thread-wise? Since rails is not thread-safe, there&#8217;s only one thread running per process. If you&#8217;ve got an upload that might take a few minutes, that particular process can&#8217;t do the other work (right?). So does one just fire up a large pack of processes?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Wayne</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-45759</link>
		<author>Alex Wayne</author>
		<pubDate>Mon, 07 Apr 2008 04:18:58 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-45759</guid>
		<description>Just letting people know that I have released a new version of Fleximage that solves both of those listed cons.

Image filename, width and height will automatically be stored in the database if you have the columns withe the right names.  It works just like created_at and just gets filled in for you.

And the default image file directory storage uses creation date based sub directories.  So instead of an image being at path/to/images/999.jpg, it will now be at path/to/images/2008/04/03/999.jpg.  So now you will only get directory overflow errors if you get many thousands of uploads per day.  If thats the case you have greater optimization concerns.

Get the new totally rewritten from scratch version here: http://github.com/Squeegy/fleximage/tree/master</description>
		<content:encoded><![CDATA[<p>Just letting people know that I have released a new version of Fleximage that solves both of those listed cons.</p>
<p>Image filename, width and height will automatically be stored in the database if you have the columns withe the right names.  It works just like created_at and just gets filled in for you.</p>
<p>And the default image file directory storage uses creation date based sub directories.  So instead of an image being at path/to/images/999.jpg, it will now be at path/to/images/2008/04/03/999.jpg.  So now you will only get directory overflow errors if you get many thousands of uploads per day.  If thats the case you have greater optimization concerns.</p>
<p>Get the new totally rewritten from scratch version here: <a href="http://github.com/Squeegy/fleximage/tree/master" rel="nofollow">http://github.com/Squeegy/fleximage/tree/master</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eXpand yOur cReativity &#187; Blog Archive &#187; Ruby On Rails Security Guide</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-43261</link>
		<author>eXpand yOur cReativity &#187; Blog Archive &#187; Ruby On Rails Security Guide</author>
		<pubDate>Mon, 31 Mar 2008 13:42:42 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-43261</guid>
		<description>[...] http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html" rel="nofollow">http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Cunningham</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-40757</link>
		<author>Justin Cunningham</author>
		<pubDate>Sun, 24 Feb 2008 18:01:34 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-40757</guid>
		<description>My company has a LGPL flash applet and rails plugin that makes it very easy to upload multiple files.  It's extensively documented and can be customized straight from Rails.  In addition, the coloring can be changed with standard CSS files.  Check it out at http://multibitshift.com.</description>
		<content:encoded><![CDATA[<p>My company has a LGPL flash applet and rails plugin that makes it very easy to upload multiple files.  It&#8217;s extensively documented and can be customized straight from Rails.  In addition, the coloring can be changed with standard CSS files.  Check it out at <a href="http://multibitshift.com." rel="nofollow">http://multibitshift.com.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roj</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-13918</link>
		<author>Roj</author>
		<pubDate>Sat, 09 Jun 2007 08:39:42 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-13918</guid>
		<description>Found another good link on the topic here:

http://www.dotrb.com/2007/6/9/attachment_fu-and-restful_authentication

They go into a little more detail about how to override plugin</description>
		<content:encoded><![CDATA[<p>Found another good link on the topic here:</p>
<p><a href="http://www.dotrb.com/2007/6/9/attachment_fu-and-restful_authentication" rel="nofollow">http://www.dotrb.com/2007/6/9/attachment_fu-and-restful_authentication</a></p>
<p>They go into a little more detail about how to override plugin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JosÃ© Valim</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-12033</link>
		<author>JosÃ© Valim</author>
		<pubDate>Sat, 05 May 2007 16:11:09 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-12033</guid>
		<description>I've tried all above but I prefer upload column too!

http://uploadcolumn.rubyforge.org/

It provides methods to manipulate images on the fly or when storing it with RMagick!

You can use procs to set your filename and store dir!
So you can make complex filenames if you don't want everyone accessing your pictures/files.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve tried all above but I prefer upload column too!</p>
<p><a href="http://uploadcolumn.rubyforge.org/" rel="nofollow">http://uploadcolumn.rubyforge.org/</a></p>
<p>It provides methods to manipulate images on the fly or when storing it with RMagick!</p>
<p>You can use procs to set your filename and store dir!<br />
So you can make complex filenames if you don&#8217;t want everyone accessing your pictures/files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bitbutter</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-11749</link>
		<author>bitbutter</author>
		<pubDate>Sun, 29 Apr 2007 09:43:40 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-11749</guid>
		<description>There's also upload_column. http://uploadcolumn.rubyforge.org/

After using all the others (except fleximage) this one is my favourite. Much better documentation than attachment_fu, very simple to use, a lot like filecolumn but with a much more elegant way of retrieving image urls for your views.

You do it like so: @mypost.image.url

Or to get a thumbnail version @mypost.image.medium_thumbnail.url

The only difficulty i had with it was that my application wouldn't start in production mode on media temple's gridserver until i removed the plugin :(</description>
		<content:encoded><![CDATA[<p>There&#8217;s also upload_column. <a href="http://uploadcolumn.rubyforge.org/" rel="nofollow">http://uploadcolumn.rubyforge.org/</a></p>
<p>After using all the others (except fleximage) this one is my favourite. Much better documentation than attachment_fu, very simple to use, a lot like filecolumn but with a much more elegant way of retrieving image urls for your views.</p>
<p>You do it like so: @mypost.image.url</p>
<p>Or to get a thumbnail version @mypost.image.medium_thumbnail.url</p>
<p>The only difficulty i had with it was that my application wouldn&#8217;t start in production mode on media temple&#8217;s gridserver until i removed the plugin <img src='http://www.flex888.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nano</title>
		<link>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-11067</link>
		<author>Nano</author>
		<pubDate>Tue, 17 Apr 2007 21:05:32 +0000</pubDate>
		<guid>http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html#comment-11067</guid>
		<description>You're missing one: attachment_fu. That's actually the same acts_as_attachment but v2.0, by the same author. 

attachment_fu is far the more sophisticated one. But that's good and bad. 
Good: MANY features.
bad: Hard to shape the code to your needs. 

However, i choosed FlexImage. Simpler (no specific columns on db required, besides blob if you'll use db storage, interface generic, simple and adaptable ). 
About all files in one place, the other plugins aren't better: for each image: 1 folder, 1 base image, thumbnails image, each in one folder. Plus, in database 1 row for image + 1 row for each thumbnail.
So, that's worse to me. 

The other thing, i don't want to store each thumbnail, just the originals. FlexImage makes all of them on-the-fly. Think of millions of images with millions of thumbnails, and you decide to change the thumbnail size. You'll want to die...

The other reason, is that i need to store 300Gb of images. So thumbnail space + number of files/folders it's not low.

About the file information, well you can work it around by using a column on the database and using in the controller with params['data'].original_filename and params['data'].content_type if you want to. 

Besides that, the shadow plus other effects ROCK!!! :D</description>
		<content:encoded><![CDATA[<p>You&#8217;re missing one: attachment_fu. That&#8217;s actually the same acts_as_attachment but v2.0, by the same author. </p>
<p>attachment_fu is far the more sophisticated one. But that&#8217;s good and bad.<br />
Good: MANY features.<br />
bad: Hard to shape the code to your needs. </p>
<p>However, i choosed FlexImage. Simpler (no specific columns on db required, besides blob if you&#8217;ll use db storage, interface generic, simple and adaptable ).<br />
About all files in one place, the other plugins aren&#8217;t better: for each image: 1 folder, 1 base image, thumbnails image, each in one folder. Plus, in database 1 row for image + 1 row for each thumbnail.<br />
So, that&#8217;s worse to me. </p>
<p>The other thing, i don&#8217;t want to store each thumbnail, just the originals. FlexImage makes all of them on-the-fly. Think of millions of images with millions of thumbnails, and you decide to change the thumbnail size. You&#8217;ll want to die&#8230;</p>
<p>The other reason, is that i need to store 300Gb of images. So thumbnail space + number of files/folders it&#8217;s not low.</p>
<p>About the file information, well you can work it around by using a column on the database and using in the controller with params[&#8217;data&#8217;].original_filename and params[&#8217;data&#8217;].content_type if you want to. </p>
<p>Besides that, the shadow plus other effects ROCK!!! <img src='http://www.flex888.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.629 seconds -->
