<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-13832</id>
	<title>Nabble - RubyOnRails Core</title>
	<updated>2008-11-18T14:06:15Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/RubyOnRails-Core-f13832.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/RubyOnRails-Core-f13832.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-20569403</id>
	<title>Re: Site-wide memcaching</title>
	<published>2008-11-18T14:06:15Z</published>
	<updated>2008-11-18T14:06:15Z</updated>
	<author>
		<name>Hongli Lai-4</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 18, 10:58 pm, &amp;quot;Michael Koziarski&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20569403&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mich...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&amp;gt; Just use your own code rather than Rails.cache.  For one of myprojects I have
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; QUEUE = MemCache.new(&amp;quot;localhost:22122&amp;quot;)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And use that from code. No need to do anything with Rails.cache at all.
&lt;br&gt;&lt;br&gt;Actually you might be interested in
&lt;br&gt;ActiveSupport::Cache::MemCacheStore instead. It wraps the memcache
&lt;br&gt;library and provides an interface that's compatible with Rails.cache's.
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20569403&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20569403&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Site-wide-memcaching-tp20569169p20569403.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20569259</id>
	<title>Re: Site-wide memcaching</title>
	<published>2008-11-18T13:58:43Z</published>
	<updated>2008-11-18T13:58:43Z</updated>
	<author>
		<name>Michael Koziarski</name>
	</author>
	<content type="html">&lt;br&gt;On Tue, Nov 18, 2008 at 10:54 PM, Norman Elton &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20569259&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;normelton@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I know I can configure Rails.cache to be backed by memcache, and that
&lt;br&gt;&amp;gt; I can configure multiple memcache servers for load balancing. Is there
&lt;br&gt;&amp;gt; any way to configure multiple instances of Rails.cache? In this case,
&lt;br&gt;&amp;gt; I'd like my application to use a standard memcache server, as well as
&lt;br&gt;&amp;gt; a starling server.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Ideally, something like Rails.cache[:memcache] vs.
&lt;br&gt;&amp;gt; Rails.cache[:starling] would point to different servers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thoughts?
&lt;/div&gt;&lt;br&gt;Just use your own code rather than Rails.cache. &amp;nbsp;For one of myprojects I have
&lt;br&gt;&lt;br&gt;QUEUE = MemCache.new(&amp;quot;localhost:22122&amp;quot;)
&lt;br&gt;&lt;br&gt;And use that from code. No need to do anything with Rails.cache at all.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Norman
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Koz
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20569259&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20569259&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Site-wide-memcaching-tp20569169p20569259.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20569169</id>
	<title>Site-wide memcaching</title>
	<published>2008-11-18T13:54:21Z</published>
	<updated>2008-11-18T13:54:21Z</updated>
	<author>
		<name>Norman Elton</name>
	</author>
	<content type="html">&lt;br&gt;I know I can configure Rails.cache to be backed by memcache, and that
&lt;br&gt;I can configure multiple memcache servers for load balancing. Is there
&lt;br&gt;any way to configure multiple instances of Rails.cache? In this case,
&lt;br&gt;I'd like my application to use a standard memcache server, as well as
&lt;br&gt;a starling server.
&lt;br&gt;&lt;br&gt;Ideally, something like Rails.cache[:memcache] vs.
&lt;br&gt;Rails.cache[:starling] would point to different servers.
&lt;br&gt;&lt;br&gt;Thoughts?
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Norman
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20569169&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20569169&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Site-wide-memcaching-tp20569169p20569169.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20568960</id>
	<title>Re: Quick Routing Bug Fix</title>
	<published>2008-11-18T13:46:18Z</published>
	<updated>2008-11-18T13:46:18Z</updated>
	<author>
		<name>Michael Koziarski</name>
	</author>
	<content type="html">&lt;br&gt;Sorry, I actually had that in a local branch! &amp;nbsp;Applied and merged to 2-2
&lt;br&gt;&lt;br&gt;On Tue, Nov 18, 2008 at 10:36 PM, dasil003 &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20568960&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gabriel.d@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alright, let me try again. &amp;nbsp;Did you know that:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; film_url(@film, :protocol =&amp;gt; 'https')
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; doesn't work? &amp;nbsp;Does that sound like it might blindside you at some
&lt;br&gt;&amp;gt; point in the future? &amp;nbsp;Check out my patch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 14, 1:30 am, dasil003 &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20568960&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gabrie...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; This should be pretty straightforward. &amp;nbsp;5 virtual peanuts to the first
&lt;br&gt;&amp;gt;&amp;gt; reviewer:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994/tickets/1375-fix-reserve&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rails.lighthouseapp.com/projects/8994/tickets/1375-fix-reserve&lt;/a&gt;...
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Koz
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20568960&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20568960&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Quick-Routing-Bug-Fix-tp20497285p20568960.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20568771</id>
	<title>Re: Quick Routing Bug Fix</title>
	<published>2008-11-18T13:36:40Z</published>
	<updated>2008-11-18T13:36:40Z</updated>
	<author>
		<name>dasil003-2</name>
	</author>
	<content type="html">&lt;br&gt;Alright, let me try again. &amp;nbsp;Did you know that:
&lt;br&gt;&lt;br&gt;film_url(@film, :protocol =&amp;gt; 'https')
&lt;br&gt;&lt;br&gt;doesn't work? &amp;nbsp;Does that sound like it might blindside you at some
&lt;br&gt;point in the future? &amp;nbsp;Check out my patch.
&lt;br&gt;&lt;br&gt;On Nov 14, 1:30 am, dasil003 &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20568771&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gabrie...@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; This should be pretty straightforward.  5 virtual peanuts to the first
&lt;br&gt;&amp;gt; reviewer:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994/tickets/1375-fix-reserve&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rails.lighthouseapp.com/projects/8994/tickets/1375-fix-reserve&lt;/a&gt;...
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20568771&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20568771&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Quick-Routing-Bug-Fix-tp20497285p20568771.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20566954</id>
	<title>Re: About HTML attributes with the value 'false'</title>
	<published>2008-11-18T11:53:11Z</published>
	<updated>2008-11-18T11:53:11Z</updated>
	<author>
		<name>Hongli Lai-4</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 18, 8:27 pm, &amp;quot;Mislav Marohnić&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566954&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mislav.maroh...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks Koz for a brief and Hongli for more detailed explanation, but I don't
&lt;br&gt;&amp;gt; think you got my question right.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You guys are talking about (hidden) textual form controls that map to
&lt;br&gt;&amp;gt; booleans. That's fine. I'm talking about HTML attribute serialization in
&lt;br&gt;&amp;gt; general, meaning *everything besides* textual form controls mapping to
&lt;br&gt;&amp;gt; booleans, and why I think this commit should be reverted. This is the
&lt;br&gt;&amp;gt; reason:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   &amp;lt;% tag :input, :type =&amp;gt; &amp;quot;checkbox&amp;quot;, :checked =&amp;gt; false %&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Who here thought that this creates a text input that isn't checked? Well,
&lt;br&gt;&amp;gt; you thought wrong. This generates an initially checked box.
&lt;/div&gt;&lt;br&gt;Good point. This has been fixed in
&lt;br&gt;&lt;a href=&quot;http://github.com/rails/rails/commit/0f89ed5636f69c7ae75f99ca2a613b1918de5f95&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/rails/rails/commit/0f89ed5636f69c7ae75f99ca2a613b1918de5f95&lt;/a&gt;&lt;br&gt;&lt;br&gt;I've registered 'checked' as a boolean HTML attribute so that it
&lt;br&gt;doesn't get outputted when its value is false. If you encounter more
&lt;br&gt;problems, then please suggest more attributes to register as boolean
&lt;br&gt;HTML attributes.
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566954&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566954&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/About-HTML-attributes-with-the-value-%27false%27-tp20491351p20566954.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20566588</id>
	<title>Re: About HTML attributes with the value 'false'</title>
	<published>2008-11-18T11:33:15Z</published>
	<updated>2008-11-18T11:33:15Z</updated>
	<author>
		<name>Michael Koziarski</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; &amp;nbsp; &amp;lt;% tag :input, :type =&amp;gt; &amp;quot;checkbox&amp;quot;, :checked =&amp;gt; false %&amp;gt;
&lt;br&gt;&amp;gt; Who here thought that this creates a text input that isn't checked? Well,
&lt;br&gt;&amp;gt; you thought wrong. This generates an initially checked box.
&lt;br&gt;&lt;br&gt;OK, I now follow you. &amp;nbsp;A patch to fix this would be appreciated :)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Koz
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566588&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566588&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/About-HTML-attributes-with-the-value-%27false%27-tp20491351p20566588.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20566501</id>
	<title>Re: About HTML attributes with the value 'false'</title>
	<published>2008-11-18T11:27:52Z</published>
	<updated>2008-11-18T11:27:52Z</updated>
	<author>
		<name>Mislav Marohnić</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;2008/11/14 Hongli Lai &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566501&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hongli@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex&quot;&gt;

&lt;br&gt;Before this commit, the hidden_field helper would output:&lt;br&gt;
 &amp;nbsp;&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;person[is_alien]&amp;quot; /&amp;gt;&lt;br&gt;
As you can see, there&amp;#39;s no &amp;quot;value&amp;quot; attribute. Upon submitting the&lt;br&gt;
form, @person.is_alien would be set to nil instead of the expected&lt;br&gt;
false, causing an SQL error. This is solved by making hidden_field&lt;br&gt;
output value=&amp;quot;false&amp;quot;:&lt;br&gt;
 &amp;nbsp;&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;person[is_alien]&amp;quot; value=&amp;quot;false&amp;quot; /&amp;gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks Koz for a brief and Hongli for more detailed explanation, but I don&amp;#39;t think you got my question right.&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;You guys are talking about (hidden) textual form controls that map to booleans. That&amp;#39;s fine. I&amp;#39;m talking about HTML attribute serialization in general, meaning *everything besides* textual form controls mapping to booleans, and why I think this commit should be reverted. This is the reason:&lt;/div&gt;

&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;lt;%&amp;nbsp;tag :input, :type =&amp;gt; &amp;quot;checkbox&amp;quot;, :checked =&amp;gt; false&amp;nbsp;%&amp;gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Who here thought that this creates a text input that isn&amp;#39;t checked? Well, you thought wrong. This generates an initially checked box.&lt;/div&gt;

&lt;/div&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566501&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566501&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/About-HTML-attributes-with-the-value-%27false%27-tp20491351p20566501.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20566078</id>
	<title>Re: should ActiveRecord::AssociationProxy#reload allow options?</title>
	<published>2008-11-18T11:00:15Z</published>
	<updated>2008-11-18T11:00:15Z</updated>
	<author>
		<name>andrew  chase</name>
	</author>
	<content type="html">&lt;br&gt;Sweet, Koz, thanks a lot.
&lt;br&gt;&lt;br&gt;Looking at the AssociationProxy implementation I don't quite know how
&lt;br&gt;I'd go about refactoring that #reload method to work like
&lt;br&gt;AR::Base#reload. To be honest, I hadn't noticed the lock! method
&lt;br&gt;before and now that you've pointed it out I'll probably just stick to
&lt;br&gt;it. lock! is more intention revealing anyways so I'm happy to use it
&lt;br&gt;in favor of reload and ignore the reload problem for the time being :)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Andrew
&lt;br&gt;&lt;br&gt;On Nov 18, 10:24 am, &amp;quot;Michael Koziarski&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566078&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mich...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; So, long story short, the implementation of AssociationProxy exposes
&lt;br&gt;&amp;gt; &amp;gt; itself when using the #reload(:lock =&amp;gt; true) technique to elevate a
&lt;br&gt;&amp;gt; &amp;gt; lock. My question to the core is whether or not this is an acceptable
&lt;br&gt;&amp;gt; &amp;gt; side effect of the implementation? In particular, I am curious if
&lt;br&gt;&amp;gt; &amp;gt; using this #reload method of lock escalation is a supported mode of
&lt;br&gt;&amp;gt; &amp;gt; operation, or is there some other means to the same end that is better
&lt;br&gt;&amp;gt; &amp;gt; supported by ActiveRecord? For instance, I suppose I could do this
&lt;br&gt;&amp;gt; &amp;gt; (hopefully the formatting on this doesn't get bojacked):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nice find, that's definitely not an acceptable side-effect of the
&lt;br&gt;&amp;gt; implementation. &amp;nbsp;A patch to address this would be great.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In the meantime you can use @record.whatever.lock! which will behave
&lt;br&gt;&amp;gt; as expected.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Cheers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Koz
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566078&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20566078&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/should-ActiveRecord%3A%3AAssociationProxy-reload-allow-options--tp20565198p20566078.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20565420</id>
	<title>Re: should ActiveRecord::AssociationProxy#reload allow options?</title>
	<published>2008-11-18T10:24:25Z</published>
	<updated>2008-11-18T10:24:25Z</updated>
	<author>
		<name>Michael Koziarski</name>
	</author>
	<content type="html">&lt;br&gt;&amp;gt; So, long story short, the implementation of AssociationProxy exposes
&lt;br&gt;&amp;gt; itself when using the #reload(:lock =&amp;gt; true) technique to elevate a
&lt;br&gt;&amp;gt; lock. My question to the core is whether or not this is an acceptable
&lt;br&gt;&amp;gt; side effect of the implementation? In particular, I am curious if
&lt;br&gt;&amp;gt; using this #reload method of lock escalation is a supported mode of
&lt;br&gt;&amp;gt; operation, or is there some other means to the same end that is better
&lt;br&gt;&amp;gt; supported by ActiveRecord? For instance, I suppose I could do this
&lt;br&gt;&amp;gt; (hopefully the formatting on this doesn't get bojacked):
&lt;br&gt;&lt;br&gt;Nice find, that's definitely not an acceptable side-effect of the
&lt;br&gt;implementation. &amp;nbsp;A patch to address this would be great.
&lt;br&gt;&lt;br&gt;In the meantime you can use @record.whatever.lock! which will behave
&lt;br&gt;as expected.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Koz
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20565420&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20565420&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/should-ActiveRecord%3A%3AAssociationProxy-reload-allow-options--tp20565198p20565420.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20565198</id>
	<title>should ActiveRecord::AssociationProxy#reload allow options?</title>
	<published>2008-11-18T10:12:00Z</published>
	<updated>2008-11-18T10:12:00Z</updated>
	<author>
		<name>andrew  chase</name>
	</author>
	<content type="html">&lt;br&gt;Hi All,
&lt;br&gt;&lt;br&gt;Recently, in the AR AsscociationProxy class, my colleague and I came
&lt;br&gt;across a case that seems to be a violation of the principle of least
&lt;br&gt;surprise.
&lt;br&gt;&lt;br&gt;The problem shows itself when trying to take out an elevated lock on
&lt;br&gt;an ActiveRecord#Base object: 'ar_obj.reload(:lock =&amp;gt; true)'. In
&lt;br&gt;general, this works fine. However, if the ar_obj object was not
&lt;br&gt;created directly, but instead came from an association proxy off some
&lt;br&gt;other AR#base object, then we have a problem. Since AssociationProxy
&lt;br&gt;defines its own (no-arg) version of #reload we hit a &amp;quot;wrong number of
&lt;br&gt;arguments error&amp;quot; because the object we're calling the method on is of
&lt;br&gt;type AssociationProxy, not AR:Base. Thank the stars that the AP#reload
&lt;br&gt;method doesn't take an options hash, if that were the case it could be
&lt;br&gt;possible to go forward thinking the object was having its lock
&lt;br&gt;elevated as expected. With the problem understood it was easy enough
&lt;br&gt;to work around by checking if the object had a #target method and
&lt;br&gt;using that target object directly if it did.
&lt;br&gt;&lt;br&gt;So, long story short, the implementation of AssociationProxy exposes
&lt;br&gt;itself when using the #reload(:lock =&amp;gt; true) technique to elevate a
&lt;br&gt;lock. My question to the core is whether or not this is an acceptable
&lt;br&gt;side effect of the implementation? In particular, I am curious if
&lt;br&gt;using this #reload method of lock escalation is a supported mode of
&lt;br&gt;operation, or is there some other means to the same end that is better
&lt;br&gt;supported by ActiveRecord? For instance, I suppose I could do this
&lt;br&gt;(hopefully the formatting on this doesn't get bojacked):
&lt;br&gt;&amp;lt;pre&amp;gt;
&lt;br&gt;def do_stuff_with_lock(ar_or_ap_object)
&lt;br&gt;&amp;nbsp; transaction do
&lt;br&gt;&amp;nbsp; &amp;nbsp; ar_or_ap_object.class.find(ar_or_ap_object.id, :lock =&amp;gt; true)
&lt;br&gt;&amp;nbsp; &amp;nbsp; # do stuff with ar_or_ap_object
&lt;br&gt;&amp;nbsp; &amp;nbsp; ar_or_ap_object.save
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;end
&lt;br&gt;&amp;lt;/pre&amp;gt;
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Andrew
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20565198&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20565198&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/should-ActiveRecord%3A%3AAssociationProxy-reload-allow-options--tp20565198p20565198.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20563667</id>
	<title>Re: tzinfo-0.3.11 bundled with activesupport-2.1.2 is incomplete</title>
	<published>2008-11-18T08:56:29Z</published>
	<updated>2008-11-18T08:56:29Z</updated>
	<author>
		<name>Chad Woolley</name>
	</author>
	<content type="html">On Tue, Nov 18, 2008 at 8:57 AM, Geoff B &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20563667&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gbuesing@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Adam and Chad -- curious to know if this setup would work for you:&lt;br&gt;
&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;I was just bikeshedding about the dubiousness of bundling a hacked version of a dependency gem in another gem, and adding code manage the resulting problems.&amp;nbsp; I didn&amp;#39;t actually have a personal problem (with tzinfo).&amp;nbsp; Thanks, though :)&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20563667&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20563667&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/tzinfo-0.3.11-bundled-with-activesupport-2.1.2-is-incomplete-tp20427430p20563667.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20562365</id>
	<title>Re: tzinfo-0.3.11 bundled with activesupport-2.1.2 is incomplete</title>
	<published>2008-11-18T07:57:40Z</published>
	<updated>2008-11-18T07:57:40Z</updated>
	<author>
		<name>gbuesing</name>
	</author>
	<content type="html">&lt;br&gt;Adam and Chad -- curious to know if this setup would work for you:
&lt;br&gt;&lt;br&gt;I pulled together a version of tzinfo that has all the stuff (classes,
&lt;br&gt;definitions, indexes) that's *not* in the slimmed-down ActiveSupport
&lt;br&gt;version:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://github.com/gbuesing/tzinfo_completer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/gbuesing/tzinfo_completer&lt;/a&gt;&lt;br&gt;(works as a plugin: I tried to make a gem of it, but github won't let
&lt;br&gt;me use fileutils in the gemspec)
&lt;br&gt;&lt;br&gt;...seems to work, given my limited testing. With this setup, you can
&lt;br&gt;effectively have access to the full gem, and updates to the bundled
&lt;br&gt;version won't break it. Also slims down your app repository a bit,
&lt;br&gt;since you don't have to duplicate tzinfo files that are already
&lt;br&gt;bundled in AS.
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20562365&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20562365&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/tzinfo-0.3.11-bundled-with-activesupport-2.1.2-is-incomplete-tp20427430p20562365.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20550563</id>
	<title>Re: Test::Unit::TestCase refactoring</title>
	<published>2008-11-17T15:28:26Z</published>
	<updated>2008-11-17T15:28:26Z</updated>
	<author>
		<name>Jeremy Kemper</name>
	</author>
	<content type="html">&lt;br&gt;Yes; thanks: 5a4789e :)
&lt;br&gt;&lt;br&gt;jeremy
&lt;br&gt;&lt;br&gt;On Mon, Nov 17, 2008 at 2:03 PM, Matt Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20550563&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;al2o3cr@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The relevant line (from railties test_help.rb) was deleted in commit
&lt;br&gt;&amp;gt; 582aa2ead58eacffca13e7efe94235958ee4db1b
&lt;br&gt;&amp;gt; on November 7 - should that be put back?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --Matt
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 17, 2008, at 4:39 PM, Jeremy Kemper wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Nov 17, 2008 at 1:26 PM, Matt Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20550563&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;al2o3cr@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Found it - in activesupport/lib/active_support/test_case.rb, test/
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; unit
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; needs to be required,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; or the tests don't get run. Add &amp;quot;require 'test/unit'&amp;quot; after &amp;quot;rescue
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; LoadError&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It's required in railties' test_help.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Otherwise, requiring 'active_support/test_case' will tests even if you
&lt;br&gt;&amp;gt;&amp;gt; didn't mean to.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; jeremy
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20550563&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20550563&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Test%3A%3AUnit%3A%3ATestCase-refactoring-tp20545245p20550563.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20549261</id>
	<title>asset_host with Proc and mailer templates</title>
	<published>2008-11-17T14:07:50Z</published>
	<updated>2008-11-17T14:07:50Z</updated>
	<author>
		<name>Tekin-2</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;If asset_host is set as a 2 arguement Proc, asset tag helpers will &amp;nbsp;
&lt;br&gt;fall over at compute_asset_host when called from mailer views because &amp;nbsp;
&lt;br&gt;Mailers do not have access to a request object.
&lt;br&gt;&lt;br&gt;I've created a small patch that modifies compute_asset_host to return &amp;nbsp;
&lt;br&gt;nil in place of a request object if it's not present:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1394-compute_asset_host-bombs-when-asset_host-proc-and-called-from-a-mailer&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1394-compute_asset_host-bombs-when-asset_host-proc-and-called-from-a-mailer&lt;/a&gt;&lt;br&gt;&lt;br&gt;This way, if your using asset tag helpers in your mailer views, you &amp;nbsp;
&lt;br&gt;can write your Proc to deal with nil requests and all is well!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Tekin Suleyman
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20549261&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20549261&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/asset_host-with-Proc-and-mailer-templates-tp20549261p20549261.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20549196</id>
	<title>Re: Test::Unit::TestCase refactoring</title>
	<published>2008-11-17T14:03:37Z</published>
	<updated>2008-11-17T14:03:37Z</updated>
	<author>
		<name>Matt Jones</name>
	</author>
	<content type="html">&lt;br&gt;The relevant line (from railties test_help.rb) was deleted in commit &amp;nbsp;
&lt;br&gt;582aa2ead58eacffca13e7efe94235958ee4db1b
&lt;br&gt;on November 7 - should that be put back?
&lt;br&gt;&lt;br&gt;--Matt
&lt;br&gt;&lt;br&gt;On Nov 17, 2008, at 4:39 PM, Jeremy Kemper wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 17, 2008 at 1:26 PM, Matt Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20549196&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;al2o3cr@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; Found it - in activesupport/lib/active_support/test_case.rb, test/ 
&lt;br&gt;&amp;gt;&amp;gt; unit
&lt;br&gt;&amp;gt;&amp;gt; needs to be required,
&lt;br&gt;&amp;gt;&amp;gt; or the tests don't get run. Add &amp;quot;require 'test/unit'&amp;quot; after &amp;quot;rescue
&lt;br&gt;&amp;gt;&amp;gt; LoadError&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It's required in railties' test_help.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Otherwise, requiring 'active_support/test_case' will tests even if you
&lt;br&gt;&amp;gt; didn't mean to.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; jeremy
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20549196&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20549196&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Test%3A%3AUnit%3A%3ATestCase-refactoring-tp20545245p20549196.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20548788</id>
	<title>Re: Test::Unit::TestCase refactoring</title>
	<published>2008-11-17T13:39:50Z</published>
	<updated>2008-11-17T13:39:50Z</updated>
	<author>
		<name>Jeremy Kemper</name>
	</author>
	<content type="html">&lt;br&gt;On Mon, Nov 17, 2008 at 1:26 PM, Matt Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548788&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;al2o3cr@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Found it - in activesupport/lib/active_support/test_case.rb, test/unit
&lt;br&gt;&amp;gt; needs to be required,
&lt;br&gt;&amp;gt; or the tests don't get run. Add &amp;quot;require 'test/unit'&amp;quot; after &amp;quot;rescue
&lt;br&gt;&amp;gt; LoadError&amp;quot;.
&lt;br&gt;&lt;br&gt;It's required in railties' test_help.
&lt;br&gt;&lt;br&gt;Otherwise, requiring 'active_support/test_case' will tests even if you
&lt;br&gt;didn't mean to.
&lt;br&gt;&lt;br&gt;jeremy
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548788&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548788&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Test%3A%3AUnit%3A%3ATestCase-refactoring-tp20545245p20548788.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20548766</id>
	<title>Re: support for postgres-pr</title>
	<published>2008-11-17T13:38:38Z</published>
	<updated>2008-11-17T13:38:38Z</updated>
	<author>
		<name>Jeremy Kemper</name>
	</author>
	<content type="html">&lt;br&gt;On Sun, Nov 16, 2008 at 5:19 AM, Stefan Lang
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548766&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;perfectly.normal.hacker@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2008/11/15 Jeremy Kemper &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548766&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Sat, Nov 15, 2008 at 8:44 AM, Stefan Lang
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548766&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;perfectly.normal.hacker@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2008/11/15 Andrew Kaspick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548766&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akaspick@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The pg gem is what you should be using now.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; postgres-pr was easier to deploy - put it in vendor
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and be done. Building a C extension on/for the server
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; can be a hassle.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; And neither pg nor ruby-postgres build with Ruby 1.9.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What was the reason for dropping postgres-pr support,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and what needs to be done to make it work again?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It wasn't intentionally dropped. It doesn't implement the
&lt;br&gt;&amp;gt;&amp;gt; #transaction_status method.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Upgrade to the latest postgres-pr, which has this method, and you'll
&lt;br&gt;&amp;gt;&amp;gt; be back up and running.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Weird. gem install gives me version 0.4.0. Looking on RubyForge
&lt;br&gt;&amp;gt; there's a 0.5.0 version. I manually downloaded and installed
&lt;br&gt;&amp;gt; that, but rails still gives me this error (with Ruby 1.9):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; in establish_connection': Please install the postgresql adapter: `gem
&lt;br&gt;&amp;gt; install activerecord-postgresql-adapter` (no such file to load -- pg)
&lt;br&gt;&amp;gt; (RuntimeError)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And trying to load postgres-pr manually:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; irb(main):001:0&amp;gt; require &amp;quot;postgres&amp;quot;
&lt;br&gt;&amp;gt; LoadError: no such file to load -- readbytes
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from /usr/local/lib/ruby191/gems/1.9.1/gems/postgres-pr-0.5.0/lib/postgres-pr/message.rb:8:in
&lt;br&gt;&amp;gt; `require'
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; readbytes.rb is in Ruby 1.8 standard library but not in Ruby 1.9
&lt;br&gt;&amp;gt; anymore. It doesn't do much anyway. I'll patch postgres-pr.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Also, the C drivers have worked with 1.9 since January 2008.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ruby-postgres-0.7.1.2006.04.06 fails with this error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In file included from postgres.c:16:
&lt;br&gt;&amp;gt; /usr/local/include/ruby191-1.9.1/ruby/backward/rubyio.h:2:2: warning:
&lt;br&gt;&amp;gt; #warning use &amp;quot;ruby/io.h&amp;quot; instead of &amp;quot;rubyio.h&amp;quot;
&lt;br&gt;&amp;gt; In file included from postgres.c:17:
&lt;br&gt;&amp;gt; /usr/local/include/ruby191-1.9.1/ruby/backward/st.h:2:2: warning:
&lt;br&gt;&amp;gt; #warning use &amp;quot;ruby/st.h&amp;quot; instead of bare &amp;quot;st.h&amp;quot;
&lt;br&gt;&amp;gt; postgres.c:18:20: error: intern.h: No such file or directory
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; pg-0.7.9.2008.10.13 fails with this error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In file included from pg.h:6,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from pg.c:15:
&lt;br&gt;&amp;gt; /usr/local/include/ruby191-1.9.1/ruby/backward/rubyio.h:2:2: warning:
&lt;br&gt;&amp;gt; #warning use &amp;quot;ruby/io.h&amp;quot; instead of &amp;quot;rubyio.h&amp;quot;
&lt;br&gt;&amp;gt; pg.c: In Funktion »parse_connect_args«:
&lt;br&gt;&amp;gt; pg.c:233: Warnung: Variable »error« wird nicht verwendet
&lt;br&gt;&amp;gt; pg.c:231: Warnung: Variable »conn« wird nicht verwendet
&lt;br&gt;&amp;gt; pg.c: In Funktion »pgconn_exec«:
&lt;br&gt;&amp;gt; pg.c:960: Fehler: »struct RArray« hat kein Element namens »len«
&lt;/div&gt;&lt;br&gt;Ah, this is due to a recent change in Ruby 1.9. Here's a patch that fixes it:
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://rubyforge.org/tracker/index.php?func=detail&amp;aid=22856&amp;group_id=3214&amp;atid=12396&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/tracker/index.php?func=detail&amp;aid=22856&amp;group_id=3214&amp;atid=12396&lt;/a&gt;&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;jeremy
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548766&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548766&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/support-for-postgres-pr-tp20514751p20548766.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20548571</id>
	<title>Re: Test::Unit::TestCase refactoring</title>
	<published>2008-11-17T13:26:53Z</published>
	<updated>2008-11-17T13:26:53Z</updated>
	<author>
		<name>Matt Jones</name>
	</author>
	<content type="html">&lt;br&gt;Found it - in activesupport/lib/active_support/test_case.rb, test/unit &amp;nbsp;
&lt;br&gt;needs to be required,
&lt;br&gt;or the tests don't get run. Add &amp;quot;require 'test/unit'&amp;quot; after &amp;quot;rescue &amp;nbsp;
&lt;br&gt;LoadError&amp;quot;.
&lt;br&gt;&lt;br&gt;--Matt
&lt;br&gt;&lt;br&gt;On Nov 17, 2008, at 3:46 PM, Kevin Hall wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Just so you know, I have edge frozen from around five days ago and I
&lt;br&gt;&amp;gt; went through and replaced all Test::Unit::TestCase instances in my
&lt;br&gt;&amp;gt; test/ directory and all my tests still pass.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 17, 2008, at 11:31 AM, Matt Jones wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Are you sure? When I changed that (in test/test_helper.rb), none of
&lt;br&gt;&amp;gt;&amp;gt; the test methods ran, and I
&lt;br&gt;&amp;gt;&amp;gt; don't see any activity in the log.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Nov 17, 2008, at 1:41 PM, Jeremy Kemper wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; On Mon, Nov 17, 2008 at 10:31 AM, Matt Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548571&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;al2o3cr@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I noted that in b0ee1bdf2650d7a8380d4e9be58bba8d9c5bd40e and &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; related
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; commits that
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; the extensions to TestCase are getting pulled out; what's the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; correct
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; thing to put into test/test_helper.rb?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Use ActiveSupport::TestCase instead of Test::Unit::TestCase :)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; jeremy
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548571&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20548571&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Test%3A%3AUnit%3A%3ATestCase-refactoring-tp20545245p20548571.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20547934</id>
	<title>Re: Test::Unit::TestCase refactoring</title>
	<published>2008-11-17T12:46:47Z</published>
	<updated>2008-11-17T12:46:47Z</updated>
	<author>
		<name>Kevin Hall-4</name>
	</author>
	<content type="html">&lt;br&gt;Just so you know, I have edge frozen from around five days ago and I &amp;nbsp;
&lt;br&gt;went through and replaced all Test::Unit::TestCase instances in my &amp;nbsp;
&lt;br&gt;test/ directory and all my tests still pass.
&lt;br&gt;&lt;br&gt;On Nov 17, 2008, at 11:31 AM, Matt Jones wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you sure? When I changed that (in test/test_helper.rb), none of
&lt;br&gt;&amp;gt; the test methods ran, and I
&lt;br&gt;&amp;gt; don't see any activity in the log.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Nov 17, 2008, at 1:41 PM, Jeremy Kemper wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Nov 17, 2008 at 10:31 AM, Matt Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20547934&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;al2o3cr@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I noted that in b0ee1bdf2650d7a8380d4e9be58bba8d9c5bd40e and related
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; commits that
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the extensions to TestCase are getting pulled out; what's the &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; correct
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; thing to put into test/test_helper.rb?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Use ActiveSupport::TestCase instead of Test::Unit::TestCase :)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; jeremy
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20547934&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20547934&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Test%3A%3AUnit%3A%3ATestCase-refactoring-tp20545245p20547934.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20546417</id>
	<title>Re: Test::Unit::TestCase refactoring</title>
	<published>2008-11-17T11:31:47Z</published>
	<updated>2008-11-17T11:31:47Z</updated>
	<author>
		<name>Matt Jones</name>
	</author>
	<content type="html">&lt;br&gt;Are you sure? When I changed that (in test/test_helper.rb), none of &amp;nbsp;
&lt;br&gt;the test methods ran, and I
&lt;br&gt;don't see any activity in the log.
&lt;br&gt;&lt;br&gt;On Nov 17, 2008, at 1:41 PM, Jeremy Kemper wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 17, 2008 at 10:31 AM, Matt Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20546417&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;al2o3cr@...&lt;/a&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I noted that in b0ee1bdf2650d7a8380d4e9be58bba8d9c5bd40e and related
&lt;br&gt;&amp;gt;&amp;gt; commits that
&lt;br&gt;&amp;gt;&amp;gt; the extensions to TestCase are getting pulled out; what's the correct
&lt;br&gt;&amp;gt;&amp;gt; thing to put into test/test_helper.rb?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Use ActiveSupport::TestCase instead of Test::Unit::TestCase :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; jeremy
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20546417&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20546417&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Test%3A%3AUnit%3A%3ATestCase-refactoring-tp20545245p20546417.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20545433</id>
	<title>Re: Test::Unit::TestCase refactoring</title>
	<published>2008-11-17T10:41:11Z</published>
	<updated>2008-11-17T10:41:11Z</updated>
	<author>
		<name>Jeremy Kemper</name>
	</author>
	<content type="html">&lt;br&gt;On Mon, Nov 17, 2008 at 10:31 AM, Matt Jones &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20545433&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;al2o3cr@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I noted that in b0ee1bdf2650d7a8380d4e9be58bba8d9c5bd40e and related
&lt;br&gt;&amp;gt; commits that
&lt;br&gt;&amp;gt; the extensions to TestCase are getting pulled out; what's the correct
&lt;br&gt;&amp;gt; thing to put into test/test_helper.rb?
&lt;br&gt;&lt;br&gt;Use ActiveSupport::TestCase instead of Test::Unit::TestCase :)
&lt;br&gt;&lt;br&gt;jeremy
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20545433&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20545433&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Test%3A%3AUnit%3A%3ATestCase-refactoring-tp20545245p20545433.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20545245</id>
	<title>Test::Unit::TestCase refactoring</title>
	<published>2008-11-17T10:31:38Z</published>
	<updated>2008-11-17T10:31:38Z</updated>
	<author>
		<name>Matt Jones</name>
	</author>
	<content type="html">&lt;br&gt;I noted that in b0ee1bdf2650d7a8380d4e9be58bba8d9c5bd40e and related &amp;nbsp;
&lt;br&gt;commits that
&lt;br&gt;the extensions to TestCase are getting pulled out; what's the correct &amp;nbsp;
&lt;br&gt;thing to put into test/test_helper.rb?
&lt;br&gt;&lt;br&gt;--Matt Jones
&lt;br&gt;&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20545245&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20545245&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Test%3A%3AUnit%3A%3ATestCase-refactoring-tp20545245p20545245.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20539458</id>
	<title>Re: Ruby 1.9 compatibility on Rails 2.2 currently broken</title>
	<published>2008-11-17T05:31:35Z</published>
	<updated>2008-11-17T05:31:35Z</updated>
	<author>
		<name>Michael Koziarski</name>
	</author>
	<content type="html">&lt;br&gt;On Sun, Nov 16, 2008 at 11:53 AM, Carlos Paramio
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20539458&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;carlosparamio@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now that the final Rails 2.2.1 release is comming, and that one of the
&lt;br&gt;&amp;gt; features is to be ready for Ruby 1.9 compatibility, it might be a good
&lt;br&gt;&amp;gt; idea to merge this tiny patch for boot.rb that will fix a bug on the
&lt;br&gt;&amp;gt; Rails bootstrap using Ruby 1.9:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1176&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1176&lt;/a&gt;&lt;br&gt;&lt;br&gt;Jeremy's been keeping an eye on our 1.9 compatibility, and he's the
&lt;br&gt;best one to pipe up with a reply. &amp;nbsp; However my understanding is that
&lt;br&gt;several 1.9 changes have broken 2.2 support (test related assertions
&lt;br&gt;f.ex) and we'll likely be holding off till 2.3 before we ship a '1.9
&lt;br&gt;friendly' release.
&lt;br&gt;-- 
&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Koz
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20539458&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20539458&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Ruby-1.9-compatibility-on-Rails-2.2-currently-broken-tp20524119p20539458.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20537388</id>
	<title>Re: Excess deprecations (number_with_precision deprecation in 2.2)</title>
	<published>2008-11-17T02:58:40Z</published>
	<updated>2008-11-17T02:58:40Z</updated>
	<author>
		<name>Clemens-7</name>
	</author>
	<content type="html">&lt;br&gt;Will,
&lt;br&gt;&lt;br&gt;I should probably explain the change because I was the one who
&lt;br&gt;introduced it in the first place.
&lt;br&gt;&lt;br&gt;The reason for the changes to the NumberHelper was that I wasn't happy
&lt;br&gt;with them being inconsistent - some helpers would use hashes to supply
&lt;br&gt;optional parameters and some would use a &amp;quot;standard&amp;quot; argument list. In
&lt;br&gt;Rails - and nowadays also in many Ruby libraries, as far as I've seen
&lt;br&gt;- it has become some kind of a best practice to only use fixed
&lt;br&gt;parameters for required parameters (e.g. the number in the number
&lt;br&gt;helpers) and supply optional parameters as an options hash - which is
&lt;br&gt;exactly what all NumberHelper methods do since I made the change. If I
&lt;br&gt;remember correctly, I introduced similar changes in other places in
&lt;br&gt;ActionView.
&lt;br&gt;&lt;br&gt;In short: This is deprecation for the sake of deprecation but for the
&lt;br&gt;sake of consolidating the ActionView helpers API which - in my opinion
&lt;br&gt;- makes plenty of sense and is a valid reason for deprecation, even if
&lt;br&gt;it occasionally results in some verbosity like you indicated.
&lt;br&gt;&lt;br&gt;I hope this explains the change sufficiently. Otherwise maybe Josh
&lt;br&gt;would like to chime in since he was the one who committed it.
&lt;br&gt;&lt;br&gt;- Clemens
&lt;br&gt;&lt;br&gt;On Nov 16, 10:40 pm, &amp;quot;Will Bryant&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20537388&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;will.bry...@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi guys,
&lt;br&gt;&amp;gt; 2.2 has the new number_with_precision implementation which after the number
&lt;br&gt;&amp;gt; takes :precision, :separator, and :delimiter hash arguments instead of just
&lt;br&gt;&amp;gt; a precision integer, and the old argument format has been deprecated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are we really on the right track deprecating things like this?  It feels
&lt;br&gt;&amp;gt; like deprecation for the sake of deprecation to me.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I mean, if you've got a method called number_with_precision, it seems pretty
&lt;br&gt;&amp;gt; clear that the normal two arguments would be the number, and the precision.
&lt;br&gt;&amp;gt;  Being able to supply the separator and delimiter is great, but since most
&lt;br&gt;&amp;gt; people will just set those on the locale (if at all), surely we're just
&lt;br&gt;&amp;gt; making people do a bunch of extra typing &amp; change a _lot_ of calls in their
&lt;br&gt;&amp;gt; existing code for no good reason, merely to get rid of the deprecation?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The code already supports both argument syntaxes, so I think we should just
&lt;br&gt;&amp;gt; remove the deprecation warning.  IMHO, we don't have to deprecate every time
&lt;br&gt;&amp;gt; something slightly more flexible comes along if there's nothing wrong with
&lt;br&gt;&amp;gt; the old way - provided there's no confusion between the old &amp; new syntax or
&lt;br&gt;&amp;gt; semantics.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Will
&lt;/div&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20537388&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20537388&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Excess-deprecations-%28number_with_precision-deprecation-in-2.2%29-tp20530423p20537388.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20530423</id>
	<title>Excess deprecations (number_with_precision deprecation in 2.2)</title>
	<published>2008-11-16T13:40:38Z</published>
	<updated>2008-11-16T13:40:38Z</updated>
	<author>
		<name>will.bryant</name>
	</author>
	<content type="html">Hi guys,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;2.2 has the new number_with_precision implementation which after the number takes :precision, :separator, and :delimiter hash arguments instead of just a precision integer, and the old argument format has been deprecated.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Are we really on the right track deprecating things like this? &amp;nbsp;It feels like deprecation for the sake of deprecation to me.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I mean, if you&amp;#39;ve got a method called number_with_precision, it seems pretty clear that the normal two arguments would be the number, and the precision. &amp;nbsp;Being able to supply the separator and delimiter is great, but since most people will just set those on the locale (if at all), surely we&amp;#39;re just making people do a bunch of extra typing &amp;amp; change a _lot_ of calls in their existing code for no good reason, merely to get rid of the deprecation?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;The code already supports both argument syntaxes, so I think we should just remove the deprecation warning. &amp;nbsp;IMHO, we don&amp;#39;t have to deprecate every time something slightly more flexible comes along if there&amp;#39;s nothing wrong with the old way - provided there&amp;#39;s no confusion between the old &amp;amp; new syntax or semantics.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Will&lt;/div&gt;&lt;br&gt;
--~--~---------~--~----~------------~-------~--~----~&lt;br&gt;
You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group. &lt;br&gt; To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20530423&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt; &lt;br&gt; To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20530423&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt; &lt;br&gt; For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en&lt;br&gt;
-~----------~----~----~----~------~----~------~--~---&lt;br&gt;
&lt;br&gt;
</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Excess-deprecations-%28number_with_precision-deprecation-in-2.2%29-tp20530423p20530423.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20525243</id>
	<title>Re: support for postgres-pr</title>
	<published>2008-11-16T05:19:11Z</published>
	<updated>2008-11-16T05:19:11Z</updated>
	<author>
		<name>Stefan Lang-3</name>
	</author>
	<content type="html">&lt;br&gt;2008/11/15 Jeremy Kemper &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20525243&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jeremy@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sat, Nov 15, 2008 at 8:44 AM, Stefan Lang
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20525243&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;perfectly.normal.hacker@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2008/11/15 Andrew Kaspick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20525243&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akaspick@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The pg gem is what you should be using now.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; postgres-pr was easier to deploy - put it in vendor
&lt;br&gt;&amp;gt;&amp;gt; and be done. Building a C extension on/for the server
&lt;br&gt;&amp;gt;&amp;gt; can be a hassle.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; And neither pg nor ruby-postgres build with Ruby 1.9.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What was the reason for dropping postgres-pr support,
&lt;br&gt;&amp;gt;&amp;gt; and what needs to be done to make it work again?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It wasn't intentionally dropped. It doesn't implement the
&lt;br&gt;&amp;gt; #transaction_status method.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Upgrade to the latest postgres-pr, which has this method, and you'll
&lt;br&gt;&amp;gt; be back up and running.
&lt;/div&gt;&lt;br&gt;Weird. gem install gives me version 0.4.0. Looking on RubyForge
&lt;br&gt;there's a 0.5.0 version. I manually downloaded and installed
&lt;br&gt;that, but rails still gives me this error (with Ruby 1.9):
&lt;br&gt;&lt;br&gt;in establish_connection': Please install the postgresql adapter: `gem
&lt;br&gt;install activerecord-postgresql-adapter` (no such file to load -- pg)
&lt;br&gt;(RuntimeError)
&lt;br&gt;&lt;br&gt;And trying to load postgres-pr manually:
&lt;br&gt;&lt;br&gt;irb(main):001:0&amp;gt; require &amp;quot;postgres&amp;quot;
&lt;br&gt;LoadError: no such file to load -- readbytes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/local/lib/ruby191/gems/1.9.1/gems/postgres-pr-0.5.0/lib/postgres-pr/message.rb:8:in
&lt;br&gt;`require'
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;readbytes.rb is in Ruby 1.8 standard library but not in Ruby 1.9
&lt;br&gt;anymore. It doesn't do much anyway. I'll patch postgres-pr.
&lt;br&gt;&lt;br&gt;&amp;gt; Also, the C drivers have worked with 1.9 since January 2008.
&lt;br&gt;&lt;br&gt;ruby-postgres-0.7.1.2006.04.06 fails with this error:
&lt;br&gt;&lt;br&gt;In file included from postgres.c:16:
&lt;br&gt;/usr/local/include/ruby191-1.9.1/ruby/backward/rubyio.h:2:2: warning:
&lt;br&gt;#warning use &amp;quot;ruby/io.h&amp;quot; instead of &amp;quot;rubyio.h&amp;quot;
&lt;br&gt;In file included from postgres.c:17:
&lt;br&gt;/usr/local/include/ruby191-1.9.1/ruby/backward/st.h:2:2: warning:
&lt;br&gt;#warning use &amp;quot;ruby/st.h&amp;quot; instead of bare &amp;quot;st.h&amp;quot;
&lt;br&gt;postgres.c:18:20: error: intern.h: No such file or directory
&lt;br&gt;&lt;br&gt;pg-0.7.9.2008.10.13 fails with this error:
&lt;br&gt;&lt;br&gt;In file included from pg.h:6,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from pg.c:15:
&lt;br&gt;/usr/local/include/ruby191-1.9.1/ruby/backward/rubyio.h:2:2: warning:
&lt;br&gt;#warning use &amp;quot;ruby/io.h&amp;quot; instead of &amp;quot;rubyio.h&amp;quot;
&lt;br&gt;pg.c: In Funktion »parse_connect_args«:
&lt;br&gt;pg.c:233: Warnung: Variable »error« wird nicht verwendet
&lt;br&gt;pg.c:231: Warnung: Variable »conn« wird nicht verwendet
&lt;br&gt;pg.c: In Funktion »pgconn_exec«:
&lt;br&gt;pg.c:960: Fehler: »struct RArray« hat kein Element namens »len«
&lt;br&gt;&lt;br&gt;All three gems work with Ruby 1.8 on the same machine.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; Stefan
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20525243&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20525243&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/support-for-postgres-pr-tp20514751p20525243.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20524142</id>
	<title>Confusing one-to-one Association example at docs?</title>
	<published>2008-11-16T02:57:12Z</published>
	<updated>2008-11-16T02:57:12Z</updated>
	<author>
		<name>Carlos Paramio</name>
	</author>
	<content type="html">&lt;br&gt;I think that the one-to-one example, at the &amp;nbsp;
&lt;br&gt;ActiveRecord::Associations::ClassMethods module, in the documentation &amp;nbsp;
&lt;br&gt;about &amp;quot;Cardinality and associations&amp;quot;, is confusing. The example refers &amp;nbsp;
&lt;br&gt;to an office that belongs to one employer, and an employer that has &amp;nbsp;
&lt;br&gt;one office, leaving the foreign key on the Office model pointing to &amp;nbsp;
&lt;br&gt;the employee_id. Maybe the reversed example is much more natural and &amp;nbsp;
&lt;br&gt;nearer to the reality: An employee belongs to an office (where he &amp;nbsp;
&lt;br&gt;works), and the office has one employee, creating the office_id &amp;nbsp;
&lt;br&gt;foreign key at the Employee model. This example also leaves the &amp;nbsp;
&lt;br&gt;posibility for the database structure to grow to a multiple-employee &amp;nbsp;
&lt;br&gt;office design easily, just by changing the has_one macro by has_many, &amp;nbsp;
&lt;br&gt;without touching the database.
&lt;br&gt;&lt;br&gt;Ticket + patch at:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1328&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1328&lt;/a&gt;&lt;br&gt;&lt;br&gt;What do you think?
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20524142&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20524142&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Confusing-one-to-one-Association-example-at-docs--tp20524142p20524142.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20524119</id>
	<title>Ruby 1.9 compatibility on Rails 2.2 currently broken</title>
	<published>2008-11-16T02:53:14Z</published>
	<updated>2008-11-16T02:53:14Z</updated>
	<author>
		<name>Carlos Paramio</name>
	</author>
	<content type="html">&lt;br&gt;Now that the final Rails 2.2.1 release is comming, and that one of the &amp;nbsp;
&lt;br&gt;features is to be ready for Ruby 1.9 compatibility, it might be a good &amp;nbsp;
&lt;br&gt;idea to merge this tiny patch for boot.rb that will fix a bug on the &amp;nbsp;
&lt;br&gt;Rails bootstrap using Ruby 1.9:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1176&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1176&lt;/a&gt;&lt;br&gt;&lt;br&gt;Carlos Paramio
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20524119&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20524119&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Ruby-1.9-compatibility-on-Rails-2.2-currently-broken-tp20524119p20524119.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20519301</id>
	<title>Re: support for postgres-pr</title>
	<published>2008-11-15T12:42:12Z</published>
	<updated>2008-11-15T12:42:12Z</updated>
	<author>
		<name>Jeremy Kemper</name>
	</author>
	<content type="html">&lt;br&gt;On Sat, Nov 15, 2008 at 8:44 AM, Stefan Lang
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20519301&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;perfectly.normal.hacker@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2008/11/15 Andrew Kaspick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20519301&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akaspick@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The pg gem is what you should be using now.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; postgres-pr was easier to deploy - put it in vendor
&lt;br&gt;&amp;gt; and be done. Building a C extension on/for the server
&lt;br&gt;&amp;gt; can be a hassle.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And neither pg nor ruby-postgres build with Ruby 1.9.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What was the reason for dropping postgres-pr support,
&lt;br&gt;&amp;gt; and what needs to be done to make it work again?
&lt;/div&gt;&lt;br&gt;It wasn't intentionally dropped. It doesn't implement the
&lt;br&gt;#transaction_status method.
&lt;br&gt;&lt;br&gt;Upgrade to the latest postgres-pr, which has this method, and you'll
&lt;br&gt;be back up and running.
&lt;br&gt;&lt;br&gt;Also, the C drivers have worked with 1.9 since January 2008.
&lt;br&gt;&lt;br&gt;Best,
&lt;br&gt;jeremy
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20519301&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20519301&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/support-for-postgres-pr-tp20514751p20519301.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20517258</id>
	<title>Re: support for postgres-pr</title>
	<published>2008-11-15T08:47:44Z</published>
	<updated>2008-11-15T08:47:44Z</updated>
	<author>
		<name>Michael Koziarski</name>
	</author>
	<content type="html">&lt;br&gt;On Sat, Nov 15, 2008 at 5:44 PM, Stefan Lang
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517258&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;perfectly.normal.hacker@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2008/11/15 Andrew Kaspick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517258&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akaspick@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The pg gem is what you should be using now.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; postgres-pr was easier to deploy - put it in vendor
&lt;br&gt;&amp;gt; and be done. Building a C extension on/for the server
&lt;br&gt;&amp;gt; can be a hassle.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And neither pg nor ruby-postgres build with Ruby 1.9.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What was the reason for dropping postgres-pr support,
&lt;br&gt;&amp;gt; and what needs to be done to make it work again?
&lt;/div&gt;&lt;br&gt;I don't know if the support was dropped deliberately, merely that the
&lt;br&gt;preferred deployment option is pg. &amp;nbsp;To get it working again you'll
&lt;br&gt;need to simply run the tests and fix the tests. &amp;nbsp;I realise that's a
&lt;br&gt;little trite, but there weren't many huge changes made.
&lt;br&gt;&lt;br&gt;Perhaps use git bisect to find it?
&lt;br&gt;&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;nbsp;Stefan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Cheers
&lt;br&gt;&lt;br&gt;Koz
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517258&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517258&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/support-for-postgres-pr-tp20514751p20517258.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20517236</id>
	<title>Re: support for postgres-pr</title>
	<published>2008-11-15T08:44:59Z</published>
	<updated>2008-11-15T08:44:59Z</updated>
	<author>
		<name>Stefan Lang-3</name>
	</author>
	<content type="html">&lt;br&gt;2008/11/15 Andrew Kaspick &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517236&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akaspick@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The pg gem is what you should be using now.
&lt;br&gt;&lt;br&gt;postgres-pr was easier to deploy - put it in vendor
&lt;br&gt;and be done. Building a C extension on/for the server
&lt;br&gt;can be a hassle.
&lt;br&gt;&lt;br&gt;And neither pg nor ruby-postgres build with Ruby 1.9.
&lt;br&gt;&lt;br&gt;What was the reason for dropping postgres-pr support,
&lt;br&gt;and what needs to be done to make it work again?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp; Stefan
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517236&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517236&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/support-for-postgres-pr-tp20514751p20517236.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20517144</id>
	<title>Re: support for postgres-pr</title>
	<published>2008-11-15T08:35:10Z</published>
	<updated>2008-11-15T08:35:10Z</updated>
	<author>
		<name>Andrew Kaspick</name>
	</author>
	<content type="html">&lt;br&gt;The pg gem is what you should be using now.
&lt;br&gt;&lt;br&gt;On Sat, Nov 15, 2008 at 5:47 AM, Stefan Lang
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517144&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;perfectly.normal.hacker@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The latest version from github doesn't work
&lt;br&gt;&amp;gt; with the postgres-pr driver. Has support
&lt;br&gt;&amp;gt; for postgres-pr been dropped?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Stefan
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517144&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20517144&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/support-for-postgres-pr-tp20514751p20517144.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20514751</id>
	<title>support for postgres-pr</title>
	<published>2008-11-15T03:47:52Z</published>
	<updated>2008-11-15T03:47:52Z</updated>
	<author>
		<name>Stefan Lang-3</name>
	</author>
	<content type="html">&lt;br&gt;The latest version from github doesn't work
&lt;br&gt;with the postgres-pr driver. Has support
&lt;br&gt;for postgres-pr been dropped?
&lt;br&gt;&lt;br&gt;Stefan
&lt;br&gt;&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20514751&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20514751&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/support-for-postgres-pr-tp20514751p20514751.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20512772</id>
	<title>Re: auto_link failing on URLs with square brackets in query params</title>
	<published>2008-11-14T21:53:41Z</published>
	<updated>2008-11-14T21:53:41Z</updated>
	<author>
		<name>Trevor Turk</name>
	</author>
	<content type="html">&lt;br&gt;On Nov 13, 3:55 pm, &amp;quot;Mislav Marohnić&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20512772&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mislav.maroh...@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&amp;gt; Previously hideous regexp becomes this: %r{( https?:// | www\. ) [^\s&amp;lt;]+}x
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Added feature: intelligent closing bracket handling. You are now able to
&lt;br&gt;&amp;gt; write this:
&lt;br&gt;&lt;br&gt;Just as an FYI - this is awesome. People have always bitched at me
&lt;br&gt;about the auto-linking stuff in my apps, and this looks like it solves
&lt;br&gt;all their problems.
&lt;br&gt;&lt;br&gt;Thank you!
&lt;br&gt;- Trevor
&lt;br&gt;--~--~---------~--~----~------------~-------~--~----~
&lt;br&gt;You received this message because you are subscribed to the Google Groups &amp;quot;Ruby on Rails: Core&amp;quot; group.
&lt;br&gt;To post to this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20512772&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core@...&lt;/a&gt;
&lt;br&gt;To unsubscribe from this group, send email to &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20512772&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rubyonrails-core+unsubscribe@...&lt;/a&gt;
&lt;br&gt;For more options, visit this group at &lt;a href=&quot;http://groups.google.com/group/rubyonrails-core?hl=en&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://groups.google.com/group/rubyonrails-core?hl=en&lt;/a&gt;&lt;br&gt;-~----------~----~----~----~------~----~------~--~---
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/auto_link-failing-on-URLs-with-square-brackets-in-query-params-tp20433149p20512772.html" />
</entry>

</feed>
