<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Romania on Rails</title>
	<link>http://romaniaonrails.com</link>
	<description>has_many :info, :through=&#62; Romania</description>
	<pubDate>Thu, 28 Feb 2008 20:40:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<item>
		<title>Queue emails in Ruby on Rails and ActionMailer and a Cron Job</title>
		<link>http://romaniaonrails.com/queue-emails-ruby-rails-actionmailer-cron-job</link>
		<comments>http://romaniaonrails.com/queue-emails-ruby-rails-actionmailer-cron-job#comments</comments>
		<pubDate>Thu, 28 Feb 2008 20:40:45 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[ActionMailer]]></category>

		<category><![CDATA[queue emails]]></category>

		<guid isPermaLink="false">http://romaniaonrails.com/queue-emails-ruby-rails-actionmailer-cron-job</guid>
		<description><![CDATA[I just had two tough days&#8230;
One of our clients needed a monthly newsletter.
After some Google searching the only solutions for email queueing I could find were:

ar_mailer gem (http://blog.segment7.net/articles/2006/08/15/ar_mailer)
backgroundrb (http://www.infoq.com/articles/BackgrounDRb)
ActiveMessaging (http://code.google.com/p/activemessaging/)
mail queue (http://code.google.com/p/mail-queue/)

I started testing and reading reviews but none seemed to do the job.
Then I remembered that I&#8217;ve already developed a mail queue system for [...]]]></description>
			<content:encoded><![CDATA[<p>I just had two tough days&#8230;</p>
<p>One of our clients needed a monthly newsletter.</p>
<p>After some Google searching the only solutions for email queueing I could find were:</p>
<ul>
<li><strong>ar_mailer gem</strong> (<a href="http://blog.segment7.net/articles/2006/08/15/ar_mailer">http://blog.segment7.net/articles/2006/08/15/ar_mailer</a>)</li>
<li><strong>backgroundrb </strong>(<a href="http://www.infoq.com/articles/BackgrounDRb">http://www.infoq.com/articles/BackgrounDRb</a>)</li>
<li><strong>ActiveMessaging </strong>(<a href="http://code.google.com/p/activemessaging/">http://code.google.com/p/activemessaging/</a>)</li>
<li><strong>mail queue </strong>(<a href="http://code.google.com/p/mail-queue/">http://code.google.com/p/mail-queue/</a>)</li>
</ul>
<p>I started testing and reading reviews but none seemed to do the job.</p>
<p>Then I remembered that I&#8217;ve already developed a mail queue system for one of my past projects (back when using ASP.NET 2.0). There, the solution was to store in a table the sender, recipient, body and the subject. On RoR <a href="http://code.google.com/p/mail-queue/" target="_blank">mail queue  </a>does this but I was still getting a strange error that i couldn`t handle.</p>
<p>Finally&#8230; I said &#8220;why store the e-mail in a table instead of the arguments and build the mail from those arguments before sending it&#8221;. So here are the steps to do it.</p>
<p>Create a model named &#8220;<strong>QueuedMail</strong>&#8220;:<br />
<code><br />
#in the migration<br />
create_table :queued_mails do |t|<br />
t.column :mailer , :string<br />
t.column :mailer_method, :string<br />
t.column :args, :text<br />
t.column :priority, :integer, :default=&gt; 0<br />
end<br />
</code></p>
<p>In QueuedMail.rb:<br />
<code><br />
class QueuedMail &lt; ActiveRecord::Base<br />
serialize :args<br />
def self.send<br />
find(:all, :order=&gt; "priority desc, id desc", :limit=&gt;10).each do |mail|<br />
mailer_class = mail.mailer.constantize<br />
mailer_method = ("deliver_" + mail.mailer_method).to_sym<br />
mailer_class.send(mailer_method, mail.arguments)<br />
mail.destroy<br />
end<br />
true<br />
end<br />
def self.add(mailer, method, args, priority)<br />
create(:mailer=&gt;mailer.to_s, :mailer_method=&gt;method.to_s, :args =&gt; args, :priority=&gt; priority)<br />
end<br />
end</code></p>
<p>Now, if you want to send a mail instead of sending with ActionMailer you call QueuedMail.add and it saves the params into the database.</p>
<p><strong>Example:</strong></p>
<p>You have the ActionMailer class named &#8220;Mail&#8221; and the method &#8220;account_created&#8221; that recives the params &#8220;to&#8221;.</p>
<p>Instead of Mail.deliver_account_created(to) you need to code QueuedMail.add(Mail,&#8221;account_created&#8221;, { :to =&gt; &#8220;mail@mail.com&#8221; }, 0 }</p>
<p>If you have an important email that needs to be sent before others you just set a higher priority.</p>
<p><strong>How to send them?</strong></p>
<p>By using a cron job!<br />
<code>script/runner "DelayedMail.send" -e production</code></p>
<p class="a2a_link"><a href="http://www.addtoany.com/?sitename=Romania on Rails&amp;siteurl=http://romaniaonrails.com&amp;linkname=Queue emails in Ruby on Rails and ActionMailer and a Cron Job&amp;linkurl=http://romaniaonrails.com/queue-emails-ruby-rails-actionmailer-cron-job&amp;type=page"><img src="http://www.addtoany.com/bookmark.gif" width="91" height="17" border="0" title="Add to any service" alt="Add to any service"/></a>
</p>]]></content:encoded>
			<wfw:commentRss>http://romaniaonrails.com/queue-emails-ruby-rails-actionmailer-cron-job/feed</wfw:commentRss>
		</item>
		<item>
		<title>Transform KB to MB in Ruby on Rails</title>
		<link>http://romaniaonrails.com/transform-kb-mb-ruby-rails</link>
		<comments>http://romaniaonrails.com/transform-kb-mb-ruby-rails#comments</comments>
		<pubDate>Sun, 24 Feb 2008 08:29:57 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[i love rails]]></category>

		<guid isPermaLink="false">http://romaniaonrails.com/transform-kb-mb-ruby-rails</guid>
		<description><![CDATA[Another reason to love rails !
 &#60;%= human_size(File.size("#{RAILS_ROOT}/public/secure/"+c))%&#62;
Where c is a filename.
More info here

]]></description>
			<content:encoded><![CDATA[<p>Another reason to love rails !</p>
<p><code> &lt;%= human_size(File.size("#{RAILS_ROOT}/public/secure/"+c))%&gt;</code></p>
<p>Where c is a filename.</p>
<p>More info <a href="http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html#M000999" target="_blank">here</a></p>
<p class="a2a_link"><a href="http://www.addtoany.com/?sitename=Romania on Rails&amp;siteurl=http://romaniaonrails.com&amp;linkname=Transform KB to MB in Ruby on Rails&amp;linkurl=http://romaniaonrails.com/transform-kb-mb-ruby-rails&amp;type=page"><img src="http://www.addtoany.com/bookmark.gif" width="91" height="17" border="0" title="Add to any service" alt="Add to any service"/></a>
</p>]]></content:encoded>
			<wfw:commentRss>http://romaniaonrails.com/transform-kb-mb-ruby-rails/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sortable list doesn`t works after inserting a new element</title>
		<link>http://romaniaonrails.com/sortable-list-doesnt-works-inserting-element</link>
		<comments>http://romaniaonrails.com/sortable-list-doesnt-works-inserting-element#comments</comments>
		<pubDate>Tue, 29 Jan 2008 16:14:24 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[rjs]]></category>

		<category><![CDATA[sortable_element]]></category>

		<guid isPermaLink="false">http://romaniaonrails.com/sortable-list-doesnt-works-inserting-element</guid>
		<description><![CDATA[I`ve this problem a few times. After inserting or deleting an element the list isn`t sortable anymore :).
To make it sortable again, put this line in the rjs that updates the list:
  page.sortable 'photos', :tag =&#62; 'div',:overlap=&#62;'horizontal', :constraint=&#62; false, :url =&#62; catalog_products_edit_photos_sort_url, :complete =&#62; visual_effect(:highlight, 'photos')
And it works!

]]></description>
			<content:encoded><![CDATA[<p>I`ve this problem a few times. After inserting or deleting an element the list isn`t sortable anymore :).</p>
<p>To make it sortable again, put this line in the rjs that updates the list:</p>
<p><code>  page.sortable 'photos', :tag =&gt; 'div',:overlap=&gt;'horizontal', :constraint=&gt; false, :url =&gt; catalog_products_edit_photos_sort_url, :complete =&gt; visual_effect(:highlight, 'photos')</code></p>
<p>And it works!</p>
<p class="a2a_link"><a href="http://www.addtoany.com/?sitename=Romania on Rails&amp;siteurl=http://romaniaonrails.com&amp;linkname=Sortable list doesn`t works after inserting a new element&amp;linkurl=http://romaniaonrails.com/sortable-list-doesnt-works-inserting-element&amp;type=page"><img src="http://www.addtoany.com/bookmark.gif" width="91" height="17" border="0" title="Add to any service" alt="Add to any service"/></a>
</p>]]></content:encoded>
			<wfw:commentRss>http://romaniaonrails.com/sortable-list-doesnt-works-inserting-element/feed</wfw:commentRss>
		</item>
		<item>
		<title>Google PageRank update 11.01.2007</title>
		<link>http://romaniaonrails.com/google-pagerank-update-11012007</link>
		<comments>http://romaniaonrails.com/google-pagerank-update-11012007#comments</comments>
		<pubDate>Sat, 12 Jan 2008 08:26:16 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[pagerank update]]></category>

		<guid isPermaLink="false">http://romaniaonrails.com/google-pagerank-update-11012007</guid>
		<description><![CDATA[When i waked up this morning I`ve found from seo-romania.com  that Google updated the PR yesterday. Sadly RomaniaOnRails was launched too  late and recived 0 :&#124;.

]]></description>
			<content:encoded><![CDATA[<p>When i waked up this morning I`ve found from <a href="http://www.seo-romania.com/forum/showthread.php?t=19" target="_blank">seo-romania.com  </a>that Google updated the PR yesterday. Sadly RomaniaOnRails was launched too  late and recived 0 :|.</p>
<p class="a2a_link"><a href="http://www.addtoany.com/?sitename=Romania on Rails&amp;siteurl=http://romaniaonrails.com&amp;linkname=Google PageRank update 11.01.2007&amp;linkurl=http://romaniaonrails.com/google-pagerank-update-11012007&amp;type=page"><img src="http://www.addtoany.com/bookmark.gif" width="91" height="17" border="0" title="Add to any service" alt="Add to any service"/></a>
</p>]]></content:encoded>
			<wfw:commentRss>http://romaniaonrails.com/google-pagerank-update-11012007/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to generate Google sitemaps with Ruby on Rails</title>
		<link>http://romaniaonrails.com/generate-google-sitemaps-ruby-rails</link>
		<comments>http://romaniaonrails.com/generate-google-sitemaps-ruby-rails#comments</comments>
		<pubDate>Fri, 11 Jan 2008 18:43:03 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[google sitemaps]]></category>

		<category><![CDATA[routes]]></category>

		<guid isPermaLink="false">http://romaniaonrails.com/generate-google-sitemaps-ruby-rails</guid>
		<description><![CDATA[This is how I generate my google sitemap for my sites: :).
1. First, create a controller named xml.
2. Then, for example for the tag links create this method in xml_controller.rb

# in xml_controller.rb
def tags
&#160; &#160; @tags = Tag.find&#40;:all, :conditions=&#62; &#34;approved = true&#34;&#41;
end
3. In the Views/xml create a tag.rxml file:

# in views/xml/tags.rxhml
xml.instruct! :xml, :version=&#62;&#34;1.0&#34;
&#160; &#160; xml.urlset&#40;:xmlns =&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This is how I generate my google sitemap for my sites: :).<br />
1. First, create a controller named xml.<br />
2. Then, for example for the tag links create this method in xml_controller.rb</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="co1"># in xml_controller.rb</span><br />
<span class="kw1">def</span> tags<br />
&nbsp; &nbsp; <span class="re1">@tags</span> = Tag.<span class="me1">find</span><span class="br0">&#40;</span><span class="re3">:all</span>, <span class="re3">:conditions</span>=&gt; <span class="st0">&quot;approved = true&quot;</span><span class="br0">&#41;</span><br />
<span class="kw1">end</span></div>
<p>3. In the Views/xml create a tag.rxml file:</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="re3"># <span class="kw1">in</span> views/xml/tags.rxhml</span><br />
xml.instruct! :xml, :<span class="re2">version=</span>&gt;<span class="st0">&quot;1.0&quot;</span><br />
&nbsp; &nbsp; xml.urlset<span class="br0">&#40;</span>:xmlns =&gt; <span class="st0">&quot;http://www.sitemaps.org/schemas/sitemap/0.9&quot;</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
@tags.each <span class="kw1">do</span> |tag|<br />
&nbsp; &nbsp;xml.url<span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp;xml.loc<span class="br0">&#40;</span>tag_url<span class="br0">&#40;</span>:<span class="re2">tag=</span>&gt;tag<span class="br0">&#41;</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp;xml.priority<span class="br0">&#40;</span><span class="nu0">0.9</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp; &nbsp;xml.changefreq<span class="br0">&#40;</span><span class="st0">&quot;weekly&quot;</span><span class="br0">&#41;</span><br />
&nbsp; &nbsp;<span class="br0">&#125;</span><br />
end<br />
<span class="br0">&#125;</span></div>
<p>4. In routes.rb add the route:</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="re3">#routes.rb</span><br />
map.tag <span class="st0">&#8216;tag/:tag&#8217;</span>, :<span class="re2">controller=</span>&gt;<span class="st0">&quot;tag&quot;</span>, :<span class="re2">action=</span>&gt;<span class="st0">&quot;view&quot;</span><br />
map.connect <span class="st0">&#8216;tags.xml&#8217;</span>, :controller =&gt; <span class="st0">&quot;xml&quot;</span>, :action =&gt; <span class="st0">&quot;tags&quot;</span></div>
<p>5. Type localhost:300x/tags.xml <img src='http://romaniaonrails.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This is the magical code that I use :). I just create a separate method for each model (products, categories, etc).</p>
<p class="a2a_link"><a href="http://www.addtoany.com/?sitename=Romania on Rails&amp;siteurl=http://romaniaonrails.com&amp;linkname=How to generate Google sitemaps with Ruby on Rails&amp;linkurl=http://romaniaonrails.com/generate-google-sitemaps-ruby-rails&amp;type=page"><img src="http://www.addtoany.com/bookmark.gif" width="91" height="17" border="0" title="Add to any service" alt="Add to any service"/></a>
</p>]]></content:encoded>
			<wfw:commentRss>http://romaniaonrails.com/generate-google-sitemaps-ruby-rails/feed</wfw:commentRss>
		</item>
		<item>
		<title>xerox rebranding</title>
		<link>http://romaniaonrails.com/xerox-rebranding</link>
		<comments>http://romaniaonrails.com/xerox-rebranding#comments</comments>
		<pubDate>Tue, 08 Jan 2008 14:59:04 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[branding]]></category>

		<category><![CDATA[rebranding]]></category>

		<category><![CDATA[xerox]]></category>

		<guid isPermaLink="false">http://romaniaonrails.com/xerox-rebranding</guid>
		<description><![CDATA[


This is the new XEROX logo. I see it something between Xbox and Sony-Ericsson.
Details here

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.xerox.com/" title="Xerox Logo" target="_blank"></p>
<p style="text-align: center"><img src="http://romaniaonrails.com/wp-content/uploads/2008/01/xerox.jpg" alt="Xerox Logo" /></p>
<p></a></p>
<p>This is the new XEROX logo. I see it something between Xbox and Sony-Ericsson.</p>
<p>Details <a href="http://www.xerox.com/go/xrx/template/inv_rel_newsroom.jsp?app=Newsroom&amp;ed_name=NR_2008Jan07_Xerox_Reveals_New_Brand_Logo&amp;format=article&amp;view=newsrelease&amp;Xcntry=USA&amp;Xlang=en_US" target="_blank">here</a></p>
<p class="a2a_link"><a href="http://www.addtoany.com/?sitename=Romania on Rails&amp;siteurl=http://romaniaonrails.com&amp;linkname=xerox rebranding&amp;linkurl=http://romaniaonrails.com/xerox-rebranding&amp;type=page"><img src="http://www.addtoany.com/bookmark.gif" width="91" height="17" border="0" title="Add to any service" alt="Add to any service"/></a>
</p>]]></content:encoded>
			<wfw:commentRss>http://romaniaonrails.com/xerox-rebranding/feed</wfw:commentRss>
		</item>
		<item>
		<title>Setup Ruby on Rails application on a subdomain</title>
		<link>http://romaniaonrails.com/setup-ruby-rails-application-subdomain</link>
		<comments>http://romaniaonrails.com/setup-ruby-rails-application-subdomain#comments</comments>
		<pubDate>Tue, 08 Jan 2008 07:10:15 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[cpanel]]></category>

		<category><![CDATA[ruby on rails application]]></category>

		<category><![CDATA[subdomain]]></category>

		<guid isPermaLink="false">http://romaniaonrails.com/setup-ruby-rails-application-subdomain</guid>
		<description><![CDATA[Recently i needed to setup a Ruby on Rails application to run on a subdomain and I wasn`t able to find any exact information. So, after I clear that out I decided to share this simple steps:
1. Add the subdomain from Cpanel. You should have something like &#8220;public_html/subdomain&#8221;.
2. Follow the steps from here exepting step [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i needed to setup a Ruby on Rails application to run on a subdomain and I wasn`t able to find any exact information. So, after I clear that out I decided to share this simple steps:</p>
<p>1. Add the subdomain from Cpanel. You should have something like &#8220;public_html/subdomain&#8221;.</p>
<p>2. Follow the steps from <a href="http://romaniaonrails.com/set-up-a-ruby-on-rails-application-on-apache-with-ssh" target="_blank">here</a> exepting step 5.</p>
<p>3. Login on the ftp and delete the  &#8220;subdomain&#8221; folder from public_html.</p>
<p>4. With SSH link your apliction to the public_html/subdomain:</p>
<div class="dean_ch" style="white-space: wrap;">
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;cpaneluser@server <span class="br0">&#91;</span>~<span class="br0">&#93;</span><span class="re3"># <span class="kw3">cd</span> public_html</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; cpaneluser@server <span class="br0">&#91;</span>~<span class="br0">&#93;</span><span class="re3"># <span class="kw2">ln</span> –s ../myapp/public subdomain</span></div>
<p>This will create a folder &#8220;subdomain&#8221; in public_html and the server points a subdomain to that folder :).</p>
<p>This stepes worked for me on a <a href="/go-to.php?site=http://www.site5.com" title="Site5.Com" target="_blank">Site5</a> reseller account. I suppose that will work everywere.</p>
<p class="a2a_link"><a href="http://www.addtoany.com/?sitename=Romania on Rails&amp;siteurl=http://romaniaonrails.com&amp;linkname=Setup Ruby on Rails application on a subdomain&amp;linkurl=http://romaniaonrails.com/setup-ruby-rails-application-subdomain&amp;type=page"><img src="http://www.addtoany.com/bookmark.gif" width="91" height="17" border="0" title="Add to any service" alt="Add to any service"/></a>
</p>]]></content:encoded>
			<wfw:commentRss>http://romaniaonrails.com/setup-ruby-rails-application-subdomain/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to set up a Ruby on Rails application on Apache with SSH</title>
		<link>http://romaniaonrails.com/set-up-a-ruby-on-rails-application-on-apache-with-ssh</link>
		<comments>http://romaniaonrails.com/set-up-a-ruby-on-rails-application-on-apache-with-ssh#comments</comments>
		<pubDate>Mon, 07 Jan 2008 20:04:43 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[ruby on rails set up]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://romaniaonrails.com/set-up-a-ruby-on-rails-application-on-apache-with-ssh</guid>
		<description><![CDATA[ 1. Login with SSH.  2.  Make sure you are in /home/username using &#8220;pwd&#8221;

&#160; &#160;cpaneluser@server &#91;~&#93;# pwd
&#160; &#160;/home/cpaneluser
3. Generate the rails application with:
 &#160;rails myapp
4. Chmod 755 myapp/public

&#160; &#160;cd myapp 
&#160; &#160;chmod 755 public
&#160; &#160;cd ..
&#160;
5. Now you need to link the appliction to the domain.
If you want to point the appliction to [...]]]></description>
			<content:encoded><![CDATA[<p> 1. Login with SSH.  2.  Make sure you are in /home/username using &#8220;pwd&#8221;</p>
<div class="dean_ch" style="white-space: wrap;">
&nbsp; &nbsp;cpaneluser@server <span class="br0">&#91;</span>~<span class="br0">&#93;</span><span class="re3"># pwd</span><br />
&nbsp; &nbsp;/home/cpaneluser</div>
<p>3. Generate the rails application with:</p>
<div class="dean_ch" style="white-space: wrap;"> &nbsp;rails myapp</div>
<p>4. Chmod 755 myapp/public</p>
<div class="dean_ch" style="white-space: wrap;">
&nbsp; &nbsp;<span class="kw3">cd</span> myapp <br />
&nbsp; &nbsp;<span class="kw2">chmod</span> <span class="nu0">755</span> public<br />
&nbsp; &nbsp;<span class="kw3">cd</span> ..<br />
&nbsp;</div>
<p>5. Now you need to link the appliction to the domain.</p>
<p>If you want to point the appliction to the root of the domain (ex. www.domain.com):</p>
<div class="dean_ch" style="white-space: wrap;">
&nbsp; &nbsp; <span class="kw2">mv</span> public_html public_html.back<br />
&nbsp; &nbsp; <span class="kw2">ln</span> -s myapp/public public_html</div>
<p>Or if you want to point to folder of the domain (ex. www.domain.com/myfolder)</p>
<div class="dean_ch" style="white-space: wrap;">
&nbsp; &nbsp;cpaneluser@server <span class="br0">&#91;</span>~<span class="br0">&#93;</span><span class="re3"># <span class="kw3">cd</span> public_html</span><br />
&nbsp; &nbsp;cpaneluser@server <span class="br0">&#91;</span>~<span class="br0">&#93;</span><span class="re3"># <span class="kw2">ln</span> –s ../myapp/public myfolder</span><br />
&nbsp;</div>
<p class="a2a_link"><a href="http://www.addtoany.com/?sitename=Romania on Rails&amp;siteurl=http://romaniaonrails.com&amp;linkname=How to set up a Ruby on Rails application on Apache with SSH&amp;linkurl=http://romaniaonrails.com/set-up-a-ruby-on-rails-application-on-apache-with-ssh&amp;type=page"><img src="http://www.addtoany.com/bookmark.gif" width="91" height="17" border="0" title="Add to any service" alt="Add to any service"/></a>
</p>]]></content:encoded>
			<wfw:commentRss>http://romaniaonrails.com/set-up-a-ruby-on-rails-application-on-apache-with-ssh/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
