<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Can anyone translate PHP to Ruby?]]></title>
		<link>http://railsforum.com/viewtopic.php?id=43475</link>
		<description><![CDATA[The most recent posts in Can anyone translate PHP to Ruby?.]]></description>
		<lastBuildDate>Sat, 02 Apr 2011 09:21:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Can anyone translate PHP to Ruby?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=139276#p139276</link>
			<description><![CDATA[<p>if your are a php programmer,as u said, then u shouldn&#039;t had to ask such a questions.</p>]]></description>
			<author><![CDATA[dummy@example.com (Saidbek)]]></author>
			<pubDate>Sat, 02 Apr 2011 09:21:37 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=139276#p139276</guid>
		</item>
		<item>
			<title><![CDATA[Re: Can anyone translate PHP to Ruby?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=139161#p139161</link>
			<description><![CDATA[<p>Hello,</p><br /><p>&nbsp; &nbsp; 1) Which testing framework do you prefer and why?</p><p>&nbsp; &nbsp; 2) What authentication plugin would you pick for the application and why?</p><p>&nbsp; &nbsp; 3) What Rails / Ruby blogs do you follow?</p><p>&nbsp; &nbsp; 4) When would you use has_many :through?</p><p>&nbsp; &nbsp; 5) What are some of the new features in Rails 3?</p><p>&nbsp; &nbsp; 6) What are a few useful plugins?</p><p>&nbsp; &nbsp; 7) Do you have a GitHub account?</p><p>&nbsp; &nbsp; 8) Are you comfortable if somebody (me)&nbsp; follow along with the application development on GitHub, actively involved in seeing the development process? (for any project)</p>]]></description>
			<author><![CDATA[dummy@example.com (aditi)]]></author>
			<pubDate>Mon, 28 Mar 2011 11:37:59 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=139161#p139161</guid>
		</item>
		<item>
			<title><![CDATA[Can anyone translate PHP to Ruby?]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=139143#p139143</link>
			<description><![CDATA[<p>Ok so I&#039;m a PHP programmer but I need to put a script on the site that uses Ruby. I know nothing about this language so I was hoping someone here could tell me what to do. Anyway in PHP I would do the following to get a variable from the url and display the correct page:</p><div class="codebox"><pre><code>&lt;?php
                
if(!isset($_GET[&#039;page&#039;])){
                
        include(&#039;pages/home.htm&#039;);
                        
}else{
                
        include(&#039;pages/&#039;.$_GET[&#039;page&#039;].&#039;.htm&#039;);
                        
}
                
?&gt;</code></pre></div><p>So now I need a Ruby script to do the same thing.</p><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (FireflyX)]]></author>
			<pubDate>Sun, 27 Mar 2011 15:29:35 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=139143#p139143</guid>
		</item>
	</channel>
</rss>
