<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Using attachment_fu to add image attachment support to your Rails application</title>
	<atom:link href="http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/</link>
	<description>A log of things I find interesting and I don't want to forget</description>
	<lastBuildDate>Wed, 04 Nov 2009 17:00:58 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: capndom</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4850</link>
		<dc:creator>capndom</dc:creator>
		<pubDate>Wed, 04 Nov 2009 17:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4850</guid>
		<description>Раздача инвайты на anti-captcha.com и captchabot.com Сервис captchabot и anti-captcha к вашим услугам. С помощью системы можно распознавать графические изображения (captcha) любой сложности, автоматически. Сервис анти капча и капча бот разгадают любые капчи.</description>
		<content:encoded><![CDATA[<p>Раздача инвайты на anti-captcha.com и captchabot.com Сервис captchabot и anti-captcha к вашим услугам. С помощью системы можно распознавать графические изображения (captcha) любой сложности, автоматически. Сервис анти капча и капча бот разгадают любые капчи.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akshay Gupta</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4849</link>
		<dc:creator>Akshay Gupta</dc:creator>
		<pubDate>Fri, 23 Oct 2009 10:49:11 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4849</guid>
		<description>@ramon

Does it worked for you?? Not working for me :(</description>
		<content:encoded><![CDATA[<p>@ramon</p>
<p>Does it worked for you?? Not working for me <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akshay Gupta</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4848</link>
		<dc:creator>Akshay Gupta</dc:creator>
		<pubDate>Fri, 23 Oct 2009 10:41:02 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4848</guid>
		<description>Hi,

I&#039;m also struck at the same problem when trying to uploas a photo from terminal based not as file_field.

NoMethodError: undefined method `size&#039; for file 

No work around is helping me out. anyone who has solved this problem.
I&#039;m using MacOS and imagemagick and reconfigured everything to make it work but i guess there is problem that it is unable to create a stringIo or tmp file when uploaded directly instead of file_field.

Thanks,
Akshay</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m also struck at the same problem when trying to uploas a photo from terminal based not as file_field.</p>
<p>NoMethodError: undefined method `size&#8217; for file </p>
<p>No work around is helping me out. anyone who has solved this problem.<br />
I&#8217;m using MacOS and imagemagick and reconfigured everything to make it work but i guess there is problem that it is unable to create a stringIo or tmp file when uploaded directly instead of file_field.</p>
<p>Thanks,<br />
Akshay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amrrdtr</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4847</link>
		<dc:creator>amrrdtr</dc:creator>
		<pubDate>Sat, 17 Oct 2009 22:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4847</guid>
		<description>Элитный и изделия из камня и мрамора: камины и столы, скульптуры и памятники, мозаики и картина - все эти созданные природой материалы стали вовсю популярны в современном строительстве. Камни камень и мрамор сочетают в себе природную красоту натурального камня и его уникальные качества: прочность, износостойкость и долгоденствие, а так же зело важное в современных условиях закал, как экологическая чистота природного материала. Все это на сайте mramorgranits.ру</description>
		<content:encoded><![CDATA[<p>Элитный и изделия из камня и мрамора: камины и столы, скульптуры и памятники, мозаики и картина &#8211; все эти созданные природой материалы стали вовсю популярны в современном строительстве. Камни камень и мрамор сочетают в себе природную красоту натурального камня и его уникальные качества: прочность, износостойкость и долгоденствие, а так же зело важное в современных условиях закал, как экологическая чистота природного материала. Все это на сайте mramorgranits.ру</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nelson</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4845</link>
		<dc:creator>Nelson</dc:creator>
		<pubDate>Fri, 25 Sep 2009 23:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4845</guid>
		<description>And it&#039;s a good thing you did too...I just ran into the same error and even though I had checked my schema twice (poorly twice, obviously) I didn&#039;t see my mistake.  Thanks for posting, and for following up your post when you found the answer!
-N</description>
		<content:encoded><![CDATA[<p>And it&#8217;s a good thing you did too&#8230;I just ran into the same error and even though I had checked my schema twice (poorly twice, obviously) I didn&#8217;t see my mistake.  Thanks for posting, and for following up your post when you found the answer!<br />
-N</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandrar</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4843</link>
		<dc:creator>sandrar</dc:creator>
		<pubDate>Thu, 10 Sep 2009 20:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4843</guid>
		<description>Hi! I was surfing and found your blog post... nice! I love your blog.  :) Cheers! Sandra. R.</description>
		<content:encoded><![CDATA[<p>Hi! I was surfing and found your blog post&#8230; nice! I love your blog.  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Cheers! Sandra. R.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbnnt</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4807</link>
		<dc:creator>bbnnt</dc:creator>
		<pubDate>Thu, 12 Feb 2009 12:56:25 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4807</guid>
		<description>seems that the source_uri stuff&#039;s not working with the technoweenie&#039;s github releases…
Does anyone has a clue on how to let this &#039;trick&#039; useable ?</description>
		<content:encoded><![CDATA[<p>seems that the source_uri stuff&#8217;s not working with the technoweenie&#8217;s github releases…<br />
Does anyone has a clue on how to let this &#8216;trick&#8217; useable ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thangka</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4805</link>
		<dc:creator>thangka</dc:creator>
		<pubDate>Fri, 23 Jan 2009 05:18:47 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4805</guid>
		<description>ThangkaGallery.com is owned by Tibetan Thangka &amp; School of Thanka Painting. It is an online Thangka showcase or an art gallery for all kinds of Thangka paintings like Tibetan Thangka, Newari Thangka and Japanese Thangka. The owner of this site is the most reputed Thangka Artists in Nepal. Our website offers a selective collection of authentic Tibetan Thangka paintings.</description>
		<content:encoded><![CDATA[<p>ThangkaGallery.com is owned by Tibetan Thangka &amp; School of Thanka Painting. It is an online Thangka showcase or an art gallery for all kinds of Thangka paintings like Tibetan Thangka, Newari Thangka and Japanese Thangka. The owner of this site is the most reputed Thangka Artists in Nepal. Our website offers a selective collection of authentic Tibetan Thangka paintings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitaliy Khudenko</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4800</link>
		<dc:creator>Vitaliy Khudenko</dc:creator>
		<pubDate>Sun, 07 Dec 2008 22:38:04 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4800</guid>
		<description>Here is a little fix for those who are dealing with cyrillic chars in the filenames of the uploaded files.

The plugin has a method &quot;sanitize_filename&quot;. The purpose of the last line of this method is to &quot;replace all non alphanumeric, underscore or periods with underscore&quot;. Since I&#039;m working in cyrillic world I also need all the cyrillic chars to be replaced with theirs latin transliterations or at least with smth like &#039;_&#039;. IMHO, leaving them untouched may cause unpredictable errors in the future.

So, to fix this just replace the last line of the method with this one:

name.gsub!(/[^a-zA-Z0-9\.\-]/,&#039;_&#039;)</description>
		<content:encoded><![CDATA[<p>Here is a little fix for those who are dealing with cyrillic chars in the filenames of the uploaded files.</p>
<p>The plugin has a method &#8220;sanitize_filename&#8221;. The purpose of the last line of this method is to &#8220;replace all non alphanumeric, underscore or periods with underscore&#8221;. Since I&#8217;m working in cyrillic world I also need all the cyrillic chars to be replaced with theirs latin transliterations or at least with smth like &#8216;_&#8217;. IMHO, leaving them untouched may cause unpredictable errors in the future.</p>
<p>So, to fix this just replace the last line of the method with this one:</p>
<p>name.gsub!(/[^a-zA-Z0-9\.\-]/,&#8217;_')</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simon</title>
		<link>http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4793</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Sun, 12 Oct 2008 14:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://significantbits.wordpress.com/2007/04/06/using-attachment_fu-by-techno-weenie-to-add-image-attachment-support-to-your-rails-application/#comment-4793</guid>
		<description>thanks for the post</description>
		<content:encoded><![CDATA[<p>thanks for the post</p>
]]></content:encoded>
	</item>
</channel>
</rss>
