<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: A cool chat example created with Ruby On Rails and Juggernaut</title>
	<atom:link href="http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/</link>
	<description>Just a little about development! Think before you write!</description>
	<pubDate>Fri, 21 Nov 2008 03:17:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Urubatan</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-5831</link>
		<dc:creator>Urubatan</dc:creator>
		<pubDate>Mon, 10 Nov 2008 11:18:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-5831</guid>
		<description>Thanks for the feedback, I'll update the tutorial with the newer versions of Rails and Juggernaut.</description>
		<content:encoded><![CDATA[<p>Thanks for the feedback, I&#8217;ll update the tutorial with the newer versions of Rails and Juggernaut.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shalmali</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-5829</link>
		<dc:creator>shalmali</dc:creator>
		<pubDate>Mon, 10 Nov 2008 10:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-5829</guid>
		<description>Hello,

I used this tutorial to create chat application with juggernaut in rails. But I faced many problems. This is might be because of the new code of the plugin juggernaut. Because when I installed plugin, i got juggernaut_hosts.yml file in the config folder, instead of juggernaut.yml.

Then I got error on the line

in view, which i changed to simply,
, and it worked.

Then I got error on methods like,
add_channel, send_to etc. which were not there in the /lib/juggernaut.rb file.

So I request you to kindly update your example with the new code in the plugin. So that it will be helpful to others also.

Thanks a lot,
Shalmali</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I used this tutorial to create chat application with juggernaut in rails. But I faced many problems. This is might be because of the new code of the plugin juggernaut. Because when I installed plugin, i got juggernaut_hosts.yml file in the config folder, instead of juggernaut.yml.</p>
<p>Then I got error on the line</p>
<p>in view, which i changed to simply,<br />
, and it worked.</p>
<p>Then I got error on methods like,<br />
add_channel, send_to etc. which were not there in the /lib/juggernaut.rb file.</p>
<p>So I request you to kindly update your example with the new code in the plugin. So that it will be helpful to others also.</p>
<p>Thanks a lot,<br />
Shalmali</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leomayleomay</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-3105</link>
		<dc:creator>leomayleomay</dc:creator>
		<pubDate>Thu, 10 Jul 2008 01:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-3105</guid>
		<description>Great tutorial.

One thing I don't get is I even don't have one juggernaut.yml under my config/ directory, only a file named juggernaut_hosts.yml, do I need to create my own by juggernaut -c juggernaut.yml, but seems it didn't have the attribute you mentioned in the tutorial, would you please help? Thank you.

#gem list &#124; grep juggernaut
juggernaut (0.5.4)

#gem list &#124; grep eventmachine
eventmachine (0.12.0)

#gem list &#124; grep json
json (1.1.2)</description>
		<content:encoded><![CDATA[<p>Great tutorial.</p>
<p>One thing I don&#8217;t get is I even don&#8217;t have one juggernaut.yml under my config/ directory, only a file named juggernaut_hosts.yml, do I need to create my own by juggernaut -c juggernaut.yml, but seems it didn&#8217;t have the attribute you mentioned in the tutorial, would you please help? Thank you.</p>
<p>#gem list | grep juggernaut<br />
juggernaut (0.5.4)</p>
<p>#gem list | grep eventmachine<br />
eventmachine (0.12.0)</p>
<p>#gem list | grep json<br />
json (1.1.2)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Migue</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-2184</link>
		<dc:creator>Migue</dc:creator>
		<pubDate>Thu, 08 May 2008 13:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-2184</guid>
		<description>Hi, listen_to_juggernaut_channels dont exist, in last version i have done this:
  ['chat'],:client_id=&#62;session.session_id) %&#62;

but dont works that:

@users = OnlineUser.find(:all, :conditions =&#62; ["online = true and id != ?", @user.id]) 
          if @users.size &#62;0 
            data = render_to_string(:update) do &#124;page&#124;
              @users.each {&#124;u&#124;
                page.insert_html :bottom, :users_list, %Q{#{u.username}}
              }
	    end
            #send the javascript only to the new user
            Juggernaut.send_to(@user.session_id, data)

Dont send to client list users. Anyone know why? Ty</description>
		<content:encoded><![CDATA[<p>Hi, listen_to_juggernaut_channels dont exist, in last version i have done this:<br />
  [&#8217;chat&#8217;],:client_id=&gt;session.session_id) %&gt;</p>
<p>but dont works that:</p>
<p>@users = OnlineUser.find(:all, :conditions =&gt; [&#8221;online = true and id != ?&#8221;, @user.id])<br />
          if @users.size &gt;0<br />
            data = render_to_string(:update) do |page|<br />
              @users.each {|u|<br />
                page.insert_html :bottom, :users_list, %Q{#{u.username}}<br />
              }<br />
	    end<br />
            #send the javascript only to the new user<br />
            Juggernaut.send_to(@user.session_id, data)</p>
<p>Dont send to client list users. Anyone know why? Ty</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Urubatan</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-121</link>
		<dc:creator>Urubatan</dc:creator>
		<pubDate>Wed, 31 Oct 2007 17:24:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-121</guid>
		<description>Mike, I had a similar problem, and it solved reinstaling the flash player, do not know why yet.
After the login the users list was populated? try using two browser windows to test it.
if it is not populated, try passing the :width and :height to the juggernaut listener, and using firebug to monitor the javascript calls.
I'll try to upload the complete application as a zip file to the blog tomorow.

Matthijs, the :generic is correct, the idea is add the chat channel to the user connection only after the login.</description>
		<content:encoded><![CDATA[<p>Mike, I had a similar problem, and it solved reinstaling the flash player, do not know why yet.<br />
After the login the users list was populated? try using two browser windows to test it.<br />
if it is not populated, try passing the :width and :height to the juggernaut listener, and using firebug to monitor the javascript calls.<br />
I&#8217;ll try to upload the complete application as a zip file to the blog tomorow.</p>
<p>Matthijs, the :generic is correct, the idea is add the chat channel to the user connection only after the login.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthijs Langenberg</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-120</link>
		<dc:creator>Matthijs Langenberg</dc:creator>
		<pubDate>Wed, 31 Oct 2007 15:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-120</guid>
		<description>listen_to_juggernaut_channels [:generic],session.session_id
 =&#62;
listen_to_juggernaut_channels [:chat],session.session_id</description>
		<content:encoded><![CDATA[<p>listen_to_juggernaut_channels [:generic],session.session_id<br />
 =&gt;<br />
listen_to_juggernaut_channels [:chat],session.session_id</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthijs Langenberg</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-119</link>
		<dc:creator>Matthijs Langenberg</dc:creator>
		<pubDate>Wed, 31 Oct 2007 15:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-119</guid>
		<description>@Mike, change:



to



in /chat/index.rhtml.</description>
		<content:encoded><![CDATA[<p>@Mike, change:</p>
<p>to</p>
<p>in /chat/index.rhtml.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-118</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 31 Oct 2007 15:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-118</guid>
		<description>Nice tutorial, thanks, this looks very interesting. I followed the instructions exactly, however when I try to login, script/push_server just returns:

Connection established
Starting to parse line buffer
nope, didn't dispatch request
Connection closed
Starting to parse request
Line buffer: [{"broadcast":1, "channels":"chat" ...
Broadcasting dHj5............
No such channel: chat

:(</description>
		<content:encoded><![CDATA[<p>Nice tutorial, thanks, this looks very interesting. I followed the instructions exactly, however when I try to login, script/push_server just returns:</p>
<p>Connection established<br />
Starting to parse line buffer<br />
nope, didn&#8217;t dispatch request<br />
Connection closed<br />
Starting to parse request<br />
Line buffer: [{&#8221;broadcast&#8221;:1, &#8220;channels&#8221;:&#8221;chat&#8221; &#8230;<br />
Broadcasting dHj5&#8230;&#8230;&#8230;&#8230;<br />
No such channel: chat</p>
<p> <img src='http://www.urubatan.info/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: accutane class action &#187; A cool chat example created with Ruby On Rails and Juggernaut</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-113</link>
		<dc:creator>accutane class action &#187; A cool chat example created with Ruby On Rails and Juggernaut</dc:creator>
		<pubDate>Sun, 28 Oct 2007 16:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-113</guid>
		<description>[...] RSS Feed wrote an interesting post today onHere&#8217;s a quick excerptclass ChatController &#60; ApplicationController #this method does not need to exist, but I like to see it here, it only needs to render the index.rhtml view def index end def login #creates a new OnlineUser record, this is used to store &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] RSS Feed wrote an interesting post today onHere&#8217;s a quick excerptclass ChatController &lt; ApplicationController #this method does not need to exist, but I like to see it here, it only needs to render the index.rhtml view def index end def login #creates a new OnlineUser record, this is used to store &#8230; [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-107</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Fri, 26 Oct 2007 21:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.urubatan.info/2007/10/a-cool-chat-example-created-with-ruby-on-rails-and-juggernaut/#comment-107</guid>
		<description>Urubatan,

Please post the files in a zip file.  I tried your suggestions, but when I try to login, it doesn't seem to do anything.

Thanks,
Max</description>
		<content:encoded><![CDATA[<p>Urubatan,</p>
<p>Please post the files in a zip file.  I tried your suggestions, but when I try to login, it doesn&#8217;t seem to do anything.</p>
<p>Thanks,<br />
Max</p>
]]></content:encoded>
	</item>
</channel>
</rss>
