<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.6" -->
<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>AtRails - The RoR (ruby on rails) fanweb</title>
	<link>http://www.atrails.com</link>
	<description>The RoR (ruby on rails) fanweb</description>
	<pubDate>Mon, 15 Jan 2007 19:38:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.6</generator>
	<language>en</language>
			<item>
		<title>Remote RoR projects</title>
		<link>http://www.atrails.com/2007/01/15/remote-ror-projects/</link>
		<comments>http://www.atrails.com/2007/01/15/remote-ror-projects/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 19:33:55 +0000</pubDate>
		<dc:creator>roman</dc:creator>
		
		<category>ror hosting</category>

		<category>installation</category>

		<category>projects</category>

		<guid isPermaLink="false">http://www.atrails.com/2007/01/15/remote-ror-projects/</guid>
		<description><![CDATA[It can be quite annoying working on your Ruby on Rails project on your PC and having to upload the edited files to the host-server everytime you change something. It gets even harder if you work on different PCs or in a team.
As far as I am aware of, there are only two solutions to [...]]]></description>
			<content:encoded><![CDATA[<p>It can be quite annoying working on your Ruby on Rails project on your PC and having to upload the edited files to the host-server everytime you change something. It gets even harder if you work on different PCs or in a team.</p>
<p>As far as I am aware of, there are only two solutions to this problem:</p>
<h4>1. Dreamweaver Extension</h4>
<p>If you are a user of Dreamweaver, you could use the Dreamweaver RoR extension. the only known extension right now is RubyWeaver. Unfortunately it is absolutely impossible to find it on the web (been there, done that). But as I am a lucky one and am favored by Gods, I HAVE a copy (yeaahoooo!?) and put a mirror online. <a title="download rubyweaver.mxp" href="http://www.atrails.com/wp-content/uploads/rubyweaver.mxp">Download rubyweaver.mxp here</a>.</p>
<p>Then, just use the Dreamweaver&#8217;s project functions to access your remote server and work on your files. (haven&#8217;t tried this method, yet. Comments welcome)</p>
<h4>2. FTP Virtual Drive</h4>
<p>You can use NetDrive software (windows only, macs and linuxes got a similar function, for sure <img src='http://www.atrails.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) to create a &#8220;virtual drive&#8221; that automatically connects to your server&#8217;s FTP. Then, you just use it as a normal hard drive. And by editing the files with your favorite editor, they are automatically uploaded and saved on your server.</p>
<p>This method is my favorite as I can work on any computer that has NetDrive installed (I have a copy on my Memory Stick just in case <img src='http://www.atrails.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  ). As this software is also hard to find online I put a mirror on this website. <a title="download netdrive.exe" href="http://www.atrails.com/wp-content/uploads/netdrive.exe">Download NetDrive.exe</a> (installer).</p>
<p>Warning! I wasn&#8217;t able to get RadRails to work with NetDrive (i.e. Adding a project located on the virtual dirve). Comments and suggestions are welcome. Currently I use other editors for this purpose.</p>
<p>Enjoy! <img src='http://www.atrails.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atrails.com/2007/01/15/remote-ror-projects/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby Code Highliter</title>
		<link>http://www.atrails.com/2007/01/14/ruby-code-highliter/</link>
		<comments>http://www.atrails.com/2007/01/14/ruby-code-highliter/#comments</comments>
		<pubDate>Sun, 14 Jan 2007 15:27:14 +0000</pubDate>
		<dc:creator>roman</dc:creator>
		
		<category>General</category>

		<category>installation</category>

		<guid isPermaLink="false">http://www.atrails.com/2007/01/14/ruby-code-highliter/</guid>
		<description><![CDATA[To post code samples I installed iG:Syntax Hiliter v3.5 for wordpress, which supposedly supports ruby. Now let's try it out:
PLAIN TEXT
RUBY:




def login


case @request.method


when :post


if @session&#91;'user'&#93; = User.authenticate&#40;@params&#91;'user_login'&#93;, @params&#91;'user_password'&#93;&#41;


&#160;


flash&#91;'notice'&#93;&#160; = "Login successful"


redirect_back_or_default :controller =&#62; "moneyger", :action =&#62; "index"


else


@login&#160; &#160; = @params&#91;'user_login'&#93;


@message&#160; = "Login unsuccessful"


end


end


end 






Excellent! ::-)

]]></description>
			<content:encoded><![CDATA[<p>To post code samples I installed <a href="http://www.igeek.info/download.php?file=1">iG:Syntax Hiliter v3.5</a> for wordpress, which supposedly supports ruby. Now let's try it out:</p>
<div class="igBar"><span id="lruby-2"><a href="#" onclick="javascript:showPlainTxt('ruby-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">RUBY:</span>
<div id="ruby-2">
<div class="ruby">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">def</span> login</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">case</span> @request.<span style="color:#9900CC;">method</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">when</span> :post</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">if</span> @session<span style="color:#006600; font-weight:bold;">&#91;</span>'user'<span style="color:#006600; font-weight:bold;">&#93;</span> = User.<span style="color:#9900CC;">authenticate</span><span style="color:#006600; font-weight:bold;">&#40;</span>@params<span style="color:#006600; font-weight:bold;">&#91;</span>'user_login'<span style="color:#006600; font-weight:bold;">&#93;</span>, @params<span style="color:#006600; font-weight:bold;">&#91;</span>'user_password'<span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">flash<span style="color:#006600; font-weight:bold;">&#91;</span>'notice'<span style="color:#006600; font-weight:bold;">&#93;</span>&nbsp; = <span style="color:#996600;">"Login successful"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">redirect_back_or_default :controller =&gt; <span style="color:#996600;">"moneyger"</span>, :action =&gt; <span style="color:#996600;">"index"</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">else</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@login&nbsp; &nbsp; = @params<span style="color:#006600; font-weight:bold;">&#91;</span>'user_login'<span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">@message&nbsp; = <span style="color:#996600;">"Login unsuccessful"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">end</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">end</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#9966CC; font-weight:bold;">end</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Excellent! ::-)
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atrails.com/2007/01/14/ruby-code-highliter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setting up ror host</title>
		<link>http://www.atrails.com/2007/01/14/setting-up-ror-host/</link>
		<comments>http://www.atrails.com/2007/01/14/setting-up-ror-host/#comments</comments>
		<pubDate>Sun, 14 Jan 2007 15:16:33 +0000</pubDate>
		<dc:creator>roman</dc:creator>
		
		<category>ror hosting</category>

		<category>installing</category>

		<guid isPermaLink="false">http://www.atrails.com/2007/01/14/setting-up-ror-host/</guid>
		<description><![CDATA[I am seriously considering adding few code samples to atrails with live demos. For this purpose I setup a new subdomain called samples.atrails.com which will run on a ruby server.
Following the Dreamhost wiki manual, my default host, I'll proceed with RoR installation on this subdomain. My PC at home has the default webrick server running, [...]]]></description>
			<content:encoded><![CDATA[<p>I am seriously considering adding few code samples to atrails with live demos. For this purpose I setup a new subdomain called <a title="Ror Samples" href="http://samples.atrails.com">samples.atrails.com</a> which will run on a ruby server.</p>
<p>Following the <a target="_blank" href="http://www.dreamhost.com/r.cgi?114397">Dreamhost</a> wiki manual, my default host, I'll proceed with RoR installation on this subdomain. My PC at home has the default webrick server running, which comes with the RoR package. I don't know which one Dreamhost uses, but it doesn't matter right now. It's just a test server and performance is not a big deal here.</p>
<p>Alright. The subdomain is setup and running (and default category set up to samples.atrails.com/public as said in the wiki). Now we configure RoR server through the telnet account:</p>
<pre>[server]$ <strong>rails <var>samples.atrails.com</var></strong>
[server]$ <strong>cd <var>samples.atrails.com</var></strong>
[server]$ <strong>chmod 755 public</strong></pre>
<p>Hmm. Now let's try if it worked...and... YUP! It did! Now the only thing left to do is to create a new test database for demo purposes.</p>
<p>The samples subdomain will have an index of all demos, which will run as separate project components.</p>
<p>Piece of cake! <img src='http://www.atrails.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atrails.com/2007/01/14/setting-up-ror-host/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ruby on Rails Hosting</title>
		<link>http://www.atrails.com/2007/01/14/ruby-on-rails-hosting/</link>
		<comments>http://www.atrails.com/2007/01/14/ruby-on-rails-hosting/#comments</comments>
		<pubDate>Sun, 14 Jan 2007 12:49:06 +0000</pubDate>
		<dc:creator>roman</dc:creator>
		
		<category>ror hosting</category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[One of the problems I have encountered with Ruby on Rails is that very, very few hosting services offer RoR hosting... and of those almost nobody offers quality service.
One of the hosting companies worth trying is DreamHost. I have hosted all my PHP projects with them long before my RoR rush. What a relieve when [...]]]></description>
			<content:encoded><![CDATA[<p>One of the problems I have encountered with Ruby on Rails is that very, very few hosting services offer RoR hosting... and of those almost nobody offers quality service.</p>
<p>One of the hosting companies worth trying is <a target="_blank" href="http://www.dreamhost.com">DreamHost</a>. I have hosted all my PHP projects with them long before my RoR rush. What a relieve when I saw they <a href="http://wiki.dreamhost.com/index.php/Ruby_on_Rails">DO host RoR projects</a> as described in their wiki!</p>
<p>Check their Hosting plans by yourself, as there's to much to say in a tiny post. Probably the most outstanding features are (for L1 plans):</p>
<ul></ul>
<ol>
<li>Unlimited mysql databases</li>
<li>HUGE webspace compared to any other host: 194 GB + <strong>increases 1GB per week!</strong></li>
<li>HUGE bandwidth of almost 2 TERABYTES + <strong>increases 16GB per week</strong></li>
<li><strong>tons of other benefits<br />
</strong></li>
</ol>
<ul></ul>
<p>Now beat that. Add the outstanding client service and you have nobody comparable on the whole wide web.</p>
<p><strong>AtRails promocode:</strong> I have set up "<strong>atrails</strong>" promocode so you can get the 1-year L1 plan for only $60 (which include few bucks commission for me), that is roughly $5/week. Enjoy <img src='http://www.atrails.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.atrails.com/2007/01/14/ruby-on-rails-hosting/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.516 seconds -->
