<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creating The Bank (Ruby on Rails)</title>
	<atom:link href="http://buildingbrowsergames.com/2008/10/02/creating-the-bank-ruby-on-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://buildingbrowsergames.com/2008/10/02/creating-the-bank-ruby-on-rails/</link>
	<description>Ever wanted to build a browsergame?</description>
	<lastBuildDate>Wed, 30 Nov 2011 19:42:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: JohnMunsch</title>
		<link>http://buildingbrowsergames.com/2008/10/02/creating-the-bank-ruby-on-rails/comment-page-1/#comment-329</link>
		<dc:creator>JohnMunsch</dc:creator>
		<pubDate>Fri, 20 Feb 2009 12:59:20 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=432#comment-329</guid>
		<description>That doesn&#039;t sound like an error in your code, more like an error in the file naming. Did you name it &quot;app/controllers/bank_controller.rb&quot;? If not then it isn&#039;t able to find the controller with that name. Also it is expecting to find the views in &quot;app/views/bank&quot;.&lt;br&gt;&lt;br&gt;It might help to download the current version of the code from here: &lt;a href=&quot;http://code.google.com/p/building-browsergames-tutorial/&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/building-browsergames-...&lt;/a&gt;&lt;br&gt;&lt;br&gt;That has everything I&#039;ve done in it so far, including the bank. You could compare yours against that and perhaps find the problem. Failing that, please contact me at &lt;a href=&quot;mailto:john.munsch@gmail.com&quot; rel=&quot;nofollow&quot;&gt;john.munsch@gmail.com&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>That doesn&#39;t sound like an error in your code, more like an error in the file naming. Did you name it &#8220;app/controllers/bank_controller.rb&#8221;? If not then it isn&#39;t able to find the controller with that name. Also it is expecting to find the views in &#8220;app/views/bank&#8221;.</p>
<p>It might help to download the current version of the code from here: <a href="http://code.google.com/p/building-browsergames-tutorial/" rel="nofollow"></a><a href="http://code.google.com/p/building-browsergames-.." rel="nofollow">http://code.google.com/p/building-browsergames-..</a>.</p>
<p>That has everything I&#39;ve done in it so far, including the bank. You could compare yours against that and perhaps find the problem. Failing that, please contact me at <a href="mailto:john.munsch@gmail.com" rel="nofollow">john.munsch@gmail.com</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mattias</title>
		<link>http://buildingbrowsergames.com/2008/10/02/creating-the-bank-ruby-on-rails/comment-page-1/#comment-311</link>
		<dc:creator>Mattias</dc:creator>
		<pubDate>Sun, 15 Feb 2009 17:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=432#comment-311</guid>
		<description>I get a Routing Error:&lt;br&gt;No route matches &quot;/bank&quot; with {:method=&gt;:get}&lt;br&gt;&lt;br&gt;I have quadruple checked letter by letter, and comparing differences with the other controllers. I can&#039;t find the problem :O&lt;br&gt;Please help.</description>
		<content:encoded><![CDATA[<p>I get a Routing Error:<br />No route matches &#8220;/bank&#8221; with {:method=&gt;:get}</p>
<p>I have quadruple checked letter by letter, and comparing differences with the other controllers. I can&#39;t find the problem :O<br />Please help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Customer Retention</title>
		<link>http://buildingbrowsergames.com/2008/10/02/creating-the-bank-ruby-on-rails/comment-page-1/#comment-256</link>
		<dc:creator>Customer Retention</dc:creator>
		<pubDate>Fri, 30 Jan 2009 06:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=432#comment-256</guid>
		<description>Ruby on Rails is sweet but have you thought about using Simple Scripts? This is also good if not better.</description>
		<content:encoded><![CDATA[<p>Ruby on Rails is sweet but have you thought about using Simple Scripts? This is also good if not better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://buildingbrowsergames.com/2008/10/02/creating-the-bank-ruby-on-rails/comment-page-1/#comment-139</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 15 Oct 2008 17:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=432#comment-139</guid>
		<description>current_user is a function that was provided to us by the restful_authentication system. Whenever we call it, it uses the ID of the logged in user (if any) that is stored in the session to look up a user record and assign it to the variable @current_user.

If you follow the instructions in The Login Page (Ruby on Rails) Part 2 (http://buildingbrowsergames.com/2008/08/25/the-login-page-ruby-on-rails-part-2/) you will be able to call this function from any of your controllers to pull the latest version of the user into a variable accessible from the controller and from the view that the controller will forward to.

If my explanation didn&#039;t help or you have any more questions, please ask.</description>
		<content:encoded><![CDATA[<p>current_user is a function that was provided to us by the restful_authentication system. Whenever we call it, it uses the ID of the logged in user (if any) that is stored in the session to look up a user record and assign it to the variable @current_user.</p>
<p>If you follow the instructions in The Login Page (Ruby on Rails) Part 2 (<a href="http://buildingbrowsergames.com/2008/08/25/the-login-page-ruby-on-rails-part-2/" rel="nofollow">http://buildingbrowsergames.com/2008/08/25/the-login-page-ruby-on-rails-part-2/</a>) you will be able to call this function from any of your controllers to pull the latest version of the user into a variable accessible from the controller and from the view that the controller will forward to.</p>
<p>If my explanation didn&#8217;t help or you have any more questions, please ask.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janus</title>
		<link>http://buildingbrowsergames.com/2008/10/02/creating-the-bank-ruby-on-rails/comment-page-1/#comment-137</link>
		<dc:creator>Janus</dc:creator>
		<pubDate>Wed, 15 Oct 2008 12:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://buildingbrowsergames.com/?p=432#comment-137</guid>
		<description>Can&#039;t figure out this current_user</description>
		<content:encoded><![CDATA[<p>Can&#8217;t figure out this current_user</p>
]]></content:encoded>
	</item>
</channel>
</rss>

