<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>Ruby on Rails: Talk Google Group</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk</link>
  <description>The official mailing list for the Ruby on Rails project. Where Rails users come to seek help, announce projects, and discuss all kind of matters surrounding the framework and the community.</description>
  <language>en</language>
  <item>
  <title>Re: Custom Validations Altering Variable</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/f049f9e4ba1749d0/c01d1aff17f5520a?show_docid=c01d1aff17f5520a</link>
  <description>
  Alright I wrote a test and figured out what was wrong turned out that &lt;br&gt; I had the form submitting the data to the edit section of the &lt;br&gt; controller instead of the update section. I fixed it and it all works &lt;br&gt; out, when you use update_attributes it does use the override of the &lt;br&gt; set method. &lt;br&gt; &lt;p&gt;Now then my only question now is where can I put the universal methods
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/f049f9e4ba1749d0/c01d1aff17f5520a?show_docid=c01d1aff17f5520a</guid>
  <author>
  austin.brk...@gmail.com
  (7H3LaughingMan)
  </author>
  <pubDate>Sun, 11 Nov 2009 17:59:40 UT
</pubDate>
  </item>
  <item>
  <title>Re: atomic INSERT or UPDATE with activerecord</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/ac8e4dd7522082db/ed51bfe9a07a12a4?show_docid=ed51bfe9a07a12a4</link>
  <description>
  This would be a single DB connection, so it seems like a good candidate &lt;br&gt; for a transaction. What&#39;s the problem with doing that? &lt;br&gt; Best,
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/ac8e4dd7522082db/ed51bfe9a07a12a4?show_docid=ed51bfe9a07a12a4</guid>
  <author>
  rails-mailing-l...@andreas-s.net
  (Marnen Laibow-Koser)
  </author>
  <pubDate>Sun, 11 Nov 2009 17:50:42 UT
</pubDate>
  </item>
  <item>
  <title>Re: Time.now &quot;stuck&quot; in Javascript Function.</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/fe8539b249d5c7f4/08ab2de260d4d136?show_docid=08ab2de260d4d136</link>
  <description>
  But in this case, you probably don&#39;t need a server request -- I think &lt;br&gt; JavaScript has an equivalent to Time.now. &lt;br&gt; In any case, I would advise against using ERb in JavaScript... &lt;br&gt; Best,
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/fe8539b249d5c7f4/08ab2de260d4d136?show_docid=08ab2de260d4d136</guid>
  <author>
  rails-mailing-l...@andreas-s.net
  (Marnen Laibow-Koser)
  </author>
  <pubDate>Sun, 11 Nov 2009 17:17:25 UT
</pubDate>
  </item>
  <item>
  <title>Re: Active Scaffold --- Help Urgent</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/b6856a7f3959646b/70351b6d49d27279?show_docid=70351b6d49d27279</link>
  <description>
  Either pg or postgres will work. &lt;br&gt; Best,
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/b6856a7f3959646b/70351b6d49d27279?show_docid=70351b6d49d27279</guid>
  <author>
  rails-mailing-l...@andreas-s.net
  (Marnen Laibow-Koser)
  </author>
  <pubDate>Sun, 11 Nov 2009 17:09:01 UT
</pubDate>
  </item>
  <item>
  <title>Re: comparing data</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/a27932c50ee00532/88e1a69910d803cb?show_docid=88e1a69910d803cb</link>
  <description>
  What would be the best way to build the GET request url with the &lt;br&gt; specified plan ids (for instance with form where you can use checkboxes &lt;br&gt; to set the desired plans)? Would you do it with JS?
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/a27932c50ee00532/88e1a69910d803cb?show_docid=88e1a69910d803cb</guid>
  <author>
  rails-mailing-l...@andreas-s.net
  (Al F.)
  </author>
  <pubDate>Sun, 11 Nov 2009 16:24:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: how to write an binary file to ftp</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/5b54046ccc3e4eca/7ca7fbcf703a9528?show_docid=7ca7fbcf703a9528</link>
  <description>
  hi fred &lt;br&gt; After add a blank character and change thumbnail to thumbnail.to_s,my &lt;br&gt; project works now.Thank you very much.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/5b54046ccc3e4eca/7ca7fbcf703a9528?show_docid=7ca7fbcf703a9528</guid>
  <author>
  rails-mailing-l...@andreas-s.net
  (Guo Yangguang)
  </author>
  <pubDate>Sun, 11 Nov 2009 16:07:51 UT
</pubDate>
  </item>
  <item>
  <title>Re: Active Scaffold --- Help Urgent</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/b6856a7f3959646b/cc7c8e957352f4d4?show_docid=cc7c8e957352f4d4</link>
  <description>
  actually what you want is &amp;quot;pg&amp;quot; &lt;br&gt; &lt;p&gt;gem list pg =&amp;gt; pg (0.8.0)
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/b6856a7f3959646b/cc7c8e957352f4d4?show_docid=cc7c8e957352f4d4</guid>
  <author>
  richard.t.ll...@gmail.com
  (Rick)
  </author>
  <pubDate>Sun, 11 Nov 2009 16:03:32 UT
</pubDate>
  </item>
  <item>
  <title>Re: Time.now &quot;stuck&quot; in Javascript Function.</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/fe8539b249d5c7f4/2c3e482de08ad441?show_docid=2c3e482de08ad441</link>
  <description>
  Ahh I see, thank you very much for your help Frederick! &lt;br&gt; &lt;p&gt;On Nov 9, 12:57 am, Frederick Cheung &amp;lt;frederick.che...@gmail.com&amp;gt; &lt;br&gt; wrote:
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/fe8539b249d5c7f4/2c3e482de08ad441?show_docid=2c3e482de08ad441</guid>
  <author>
  nds...@iinet.net.au
  (Nick S)
  </author>
  <pubDate>Sun, 11 Nov 2009 16:00:31 UT
</pubDate>
  </item>
  <item>
  <title>Re: Time.now &quot;stuck&quot; in Javascript Function.</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/fe8539b249d5c7f4/8f6f425d9a3e9ed4?show_docid=8f6f425d9a3e9ed4</link>
  <description>
  That&#39;s completely normal - At the point that the template is rendered &lt;br&gt; all of your &amp;lt;%= are evaluated - if you look at the source in the &lt;br&gt; browser you won&#39;t see any of your ruby code (and even if you could, &lt;br&gt; what&#39;s your browser supposed to do with ruby). If you need some ruby &lt;br&gt; code evaluated you need to make a request to the server
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/fe8539b249d5c7f4/8f6f425d9a3e9ed4?show_docid=8f6f425d9a3e9ed4</guid>
  <author>
  frederick.che...@gmail.com
  (Frederick Cheung)
  </author>
  <pubDate>Sun, 11 Nov 2009 15:57:14 UT
</pubDate>
  </item>
  <item>
  <title>Rails Best Practices</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/2cb32b69cc86469c/b22b8c24ceb21b9d?show_docid=b22b8c24ceb21b9d</link>
  <description>
  Hi all, &lt;br&gt; &lt;p&gt;Last month, there&#39;s a Kungfu Rails Conf in Shanghai, China. And &lt;br&gt; there&#39;s an awesome presentation &amp;quot;Rails Best Practices&amp;quot; &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.slideshare.net/ihower/rails-best-practices&quot;&gt;[link]&lt;/a&gt; . Yehuda Katz &lt;br&gt; also likes this presentation. &lt;br&gt; &lt;p&gt;Now I&#39;m writing a gem to automatic practices check according to this
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/2cb32b69cc86469c/b22b8c24ceb21b9d?show_docid=b22b8c24ceb21b9d</guid>
  <author>
  flyer...@gmail.com
  (flyerhzm)
  </author>
  <pubDate>Sun, 11 Nov 2009 15:55:12 UT
</pubDate>
  </item>
  <item>
  <title>Re: comparing data</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/a27932c50ee00532/c543433b28057661?show_docid=c543433b28057661</link>
  <description>
  I would do it with nested routes and map.resource. You would end up &lt;br&gt; with a rout that looked like this: &lt;br&gt; &lt;p&gt;/plans/:plan_id/compare/:id &lt;br&gt; &lt;p&gt;If you are comparing more than one at a time then I would do what was &lt;br&gt; suggested before and pass an array of IDs as a GET request. &lt;br&gt; &lt;p&gt;On Nov 8, 8:31 am, Aljaz Fajmut &amp;lt;rails-mailing-l...@andreas-s. net&amp;gt;
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/a27932c50ee00532/c543433b28057661?show_docid=c543433b28057661</guid>
  <author>
  dewi...@gmail.com
  (mcescobar1)
  </author>
  <pubDate>Sun, 11 Nov 2009 15:17:29 UT
</pubDate>
  </item>
  <item>
  <title>Time.now &quot;stuck&quot; in Javascript Function.</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/fe8539b249d5c7f4/b7074efa747a066e?show_docid=b7074efa747a066e</link>
  <description>
  Novice RoR programmer here, I&#39;ve run into a bit of a stumbling block, &lt;br&gt; concerning Time.now seemingly not updating in between JS function &lt;br&gt; calls. &lt;br&gt; &lt;p&gt;My code is as follows: &lt;br&gt; &lt;p&gt;function test() &lt;br&gt; { &lt;br&gt; document.getElementById(&amp;quot;chatb ox&amp;quot;).value += &amp;quot;&amp;lt;%= Time.now %&amp;gt;&amp;quot; + &amp;quot;\n&amp;quot;; &lt;br&gt; &lt;p&gt;... &lt;br&gt; &lt;p&gt;&amp;lt;textarea id=&amp;quot;chatbox&amp;quot; rows=&amp;quot;10&amp;quot; cols=&amp;quot;80&amp;quot; class=&amp;quot;chatbox&amp;quot;
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/fe8539b249d5c7f4/b7074efa747a066e?show_docid=b7074efa747a066e</guid>
  <author>
  nds...@iinet.net.au
  (Nick S)
  </author>
  <pubDate>Sun, 11 Nov 2009 15:36:29 UT
</pubDate>
  </item>
  <item>
  <title>Re: how to write an binary file to ftp</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/5b54046ccc3e4eca/d487f000c84f4fa1?show_docid=d487f000c84f4fa1</link>
  <description>
  On Nov 8, 3:48 pm, Guo Yangguang &amp;lt;rails-mailing-l...@andreas-s. net&amp;gt; &lt;br&gt; wrote: &lt;br&gt; If you&#39;ve got a string ruby doesn&#39;t care about what&#39;s in it (of course &lt;br&gt; exactly what that line should depends on what kind of object you &lt;br&gt; have). You wouldn&#39;t get a permission error if you got that wrong &lt;br&gt; though - you&#39;d probably just upload junk
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/5b54046ccc3e4eca/d487f000c84f4fa1?show_docid=d487f000c84f4fa1</guid>
  <author>
  frederick.che...@gmail.com
  (Frederick Cheung)
  </author>
  <pubDate>Sun, 11 Nov 2009 15:53:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: [Rails] Re: comparing data</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/a27932c50ee00532/ad2dfd829fd4e0ef?show_docid=ad2dfd829fd4e0ef</link>
  <description>
  2009/11/8 Aljaz Fajmut &amp;lt;rails-mailing-l...@andreas-s. net&amp;gt;: &lt;br&gt; Whichever makes more sense for you is the way to go. I think I would &lt;br&gt; probably put it in a compare action in the Plans controller. &lt;br&gt; Colin
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/a27932c50ee00532/ad2dfd829fd4e0ef?show_docid=ad2dfd829fd4e0ef</guid>
  <author>
  clan...@googlemail.com
  (Colin Law)
  </author>
  <pubDate>Sun, 11 Nov 2009 15:48:26 UT
</pubDate>
  </item>
  <item>
  <title>Re: how to write an binary file to ftp</title>
  <link>http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/5b54046ccc3e4eca/a0882c08198d670a?show_docid=a0882c08198d670a</link>
  <description>
  thumbnail_file=StringIO.new(th umbnail) &lt;br&gt; do i need to change the above like this?Because i think the thumbnail is &lt;br&gt; binary file. &lt;br&gt; thumbnail_file=StringIO.new(th umbnail.to_s)
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/rubyonrails-talk/browse_thread/thread/5b54046ccc3e4eca/a0882c08198d670a?show_docid=a0882c08198d670a</guid>
  <author>
  rails-mailing-l...@andreas-s.net
  (Guo Yangguang)
  </author>
  <pubDate>Sun, 11 Nov 2009 15:48:09 UT
</pubDate>
  </item>
  </channel>
</rss>
