<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>code_fu - All Comments</title>
  <id>tag:khamsouk.souvanlasy.com,2008:mephisto/comments</id>
  <generator uri="http://mephistoblog.com" version="0.7.3">Mephisto Noh-Varr</generator>
  <link href="http://khamsouk.souvanlasy.com/feed/all_comments.xml" rel="self" type="application/atom+xml"/>
  <link href="http://khamsouk.souvanlasy.com/" rel="alternate" type="text/html"/>
  <updated>2008-09-01T16:01:57Z</updated>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>Marco</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:896</id>
    <published>2008-09-01T16:01:57Z</published>
    <updated>2008-09-01T16:01:57Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by Marco</title>
<content type="html">&lt;p&gt;I&#8217;ve to edit the attachment_fu.rb because it don&#8217;t retrive size even specifing :size =&amp;gt; 0..5000.kilobytes and if i start from 1 it gives me the message:
&#8220;Validation failed: Size is not included in the list&#8221;&lt;/p&gt;


My changes:
	&lt;ol&gt;
	&lt;li&gt;Returns true if the attachment data will be really written to the storage system on the next save
      def save_attachment?
        10.times do
            if File.file?(temp_path.to_s) &#38;&#38; File.size(temp_path) &amp;gt; 0
                return true
            end
            sleep 1
        end
        false
      end&lt;/li&gt;
	&lt;/ol&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>anal</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:882</id>
    <published>2008-08-29T18:36:35Z</published>
    <updated>2008-08-29T18:36:35Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by anal</title>
<content type="html">&lt;p&gt;Geri shook her squirming and whenshe absently slipped a three egger, &lt;a href=&quot;http:&quot; /&gt;creampie in pussy&lt;/a&gt;  moaning blissfully. I gasped.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>porn</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:836</id>
    <published>2008-08-20T04:04:02Z</published>
    <updated>2008-08-20T04:04:02Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by porn</title>
<content type="html">&lt;p&gt;&lt;a href=&quot;http:&quot; /&gt;free women bisexual sex stories&lt;/a&gt;  &lt;a href=&quot;http:&quot; /&gt;bisexual porn clips&lt;/a&gt;  &lt;a href=&quot;http:&quot; /&gt;bisexual anal sex&lt;/a&gt;  &lt;a href=&quot;http:&quot; /&gt;bisexual mmf sex&lt;/a&gt;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>porn</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:835</id>
    <published>2008-08-20T04:04:00Z</published>
    <updated>2008-08-20T04:04:00Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by porn</title>
<content type="html">&lt;p&gt;&lt;a href=&quot;http:&quot; /&gt;bisexual mmf sex&lt;/a&gt;  &lt;a href=&quot;http:&quot; /&gt;free bisexual sex videos&lt;/a&gt;  &lt;a href=&quot;http:&quot; /&gt;bisexual sex videos&lt;/a&gt;  &lt;a href=&quot;http:&quot; /&gt;bisexual group sex&lt;/a&gt;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>hot</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:782</id>
    <published>2008-07-31T00:39:48Z</published>
    <updated>2008-07-31T00:39:48Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by hot</title>
<content type="html">&lt;p&gt;She would recommend &lt;a href=&quot;http:&quot; /&gt;hot brunette in a thong&lt;/a&gt;  as her dismay, he does.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>coops</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:781</id>
    <published>2008-07-30T07:10:08Z</published>
    <updated>2008-07-30T07:10:08Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by coops</title>
<content type="html">&lt;p&gt;Ok i am using the most current ruby on rails and for some reason.. none of this is working for me.. have tried to implement this into my current app and is going no were&#8230; expect i don&#8217;t want to use frames i want to use partials and want to be able to use the same functionality as you would with a ajax text field that you add a file then it refreshs the partial to show the current files.. etc etc&lt;/p&gt;


	&lt;p&gt;any help?&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>volks</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:730</id>
    <published>2008-07-05T04:54:10Z</published>
    <updated>2008-07-05T04:54:10Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by volks</title>
<content type="html">&lt;p&gt;hi,&lt;/p&gt;


	&lt;p&gt;if i use :thumb in the asset link to display the thumb nails on index.rhtml the images wont show, for some reason they are getting saved to the public/assets folder with their original names.&lt;/p&gt;


	&lt;p&gt;Any idea how i can solve this?&lt;/p&gt;


	&lt;p&gt;Thanks in Advance&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>volks</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:729</id>
    <published>2008-07-05T02:27:44Z</published>
    <updated>2008-07-05T02:27:44Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by volks</title>
<content type="html">&lt;p&gt;any idea why this would occur?&lt;/p&gt;


	&lt;p&gt;Mysql::Error: Table &#8216;test2_development.db_files&#8217; doesn&#8217;t exist: &lt;span class=&quot;caps&quot;&gt;SHOW FIELDS FROM&lt;/span&gt; db_files&lt;/p&gt;


	&lt;p&gt;Thanks&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>ozgahbixifon</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:727</id>
    <published>2008-07-04T15:08:52Z</published>
    <updated>2008-07-04T15:08:52Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by ozgahbixifon</title>
<content type="html">&lt;p&gt;&lt;a href=&quot;http:&quot; /&gt;shannon elizabeth video clips&lt;/a&gt;&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>td visa</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:706</id>
    <published>2008-06-27T18:01:47Z</published>
    <updated>2008-06-27T18:01:47Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by td visa</title>
<content type="html">&lt;p&gt;Nice Site!
http://google.com&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>Daniel</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:699</id>
    <published>2008-06-26T15:24:38Z</published>
    <updated>2008-06-26T15:24:38Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by Daniel</title>
<content type="html">&lt;p&gt;I love this idea, and it works great. The problem is, who wants to upload one file at a time any more? Most people have two or three files that they need to push up to a site, and waiting for one to upload, then adding another sometimes isn&#8217;t the right solution.&lt;/p&gt;


	&lt;p&gt;My Idea:&lt;/p&gt;


	&lt;p&gt;Render multiple upload forms, each with a unique &lt;span class=&quot;caps&quot;&gt;DOM&lt;/span&gt; name. Then use a little javascript to submit all the forms at once, giving the illusion of all the uploads being sent in the same form.&lt;/p&gt;


	&lt;p&gt;Thoughs??&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>kamil</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:698</id>
    <published>2008-06-26T14:43:19Z</published>
    <updated>2008-06-26T14:43:19Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by kamil</title>
<content type="html">&lt;p&gt;Thanks! It&#8217;s perfect.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>Sam Florist, Jr</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-11:40:684</id>
    <published>2008-06-24T01:38:57Z</published>
    <updated>2008-06-24T01:38:57Z</updated>
    <link href="http://khamsouk.souvanlasy.com/2007/5/11/helping-people-one-click-or-search-at-a-time" rel="alternate" type="text/html"/>
    <title>Comment on 'Helping people, one click or search at a time' by Sam Florist, Jr</title>
<content type="html">&lt;p&gt;I love ripple..
Thanks&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>Jason</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:681</id>
    <published>2008-06-22T01:03:14Z</published>
    <updated>2008-06-22T01:03:14Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by Jason</title>
<content type="html">&lt;p&gt;This is just what I needed! Thanks for the great write-up. Probably saved me hours of &lt;span class=&quot;caps&quot;&gt;IFRAME&lt;/span&gt;/JS hacking.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://khamsouk.souvanlasy.com/">
    <author>
      <name>emerge cards</name>
    </author>
    <id>tag:khamsouk.souvanlasy.com,2007-05-01:39:627</id>
    <published>2008-06-04T22:03:16Z</published>
    <updated>2008-06-04T22:03:16Z</updated>
    <category term="Programming"/>
    <link href="http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment_fu-and-responds_to_parent" rel="alternate" type="text/html"/>
    <title>Comment on 'AJAX file uploads in Rails using attachment_fu and responds_to_parent' by emerge cards</title>
<content type="html">&lt;p&gt;Nice Site!
http://google.com&lt;/p&gt;</content>  </entry>
</feed>
