<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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>radrails &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/radrails/</link>
	<description>Feed of posts on WordPress.com tagged "radrails"</description>
	<pubDate>Tue, 01 Dec 2009 12:20:36 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Rails IDEs issues: change Java interpretor to Sun Java 6 JRE]]></title>
<link>http://vladzloteanu.wordpress.com/2009/07/25/rails-ides-issues-change-java-interpretor-to-sun-java-6-jre/</link>
<pubDate>Sat, 25 Jul 2009 10:53:33 +0000</pubDate>
<dc:creator>vladzloteanu</dc:creator>
<guid>http://vladzloteanu.wordpress.com/2009/07/25/rails-ides-issues-change-java-interpretor-to-sun-java-6-jre/</guid>
<description><![CDATA[Sometimes,the Rails (mostly written in Java, like RadRails, RubyMine, 3rd Rail, or Netbeans for Ruby]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sometimes,the Rails (mostly written in Java, like <a href="http://www.aptana.com/rails/">RadRails</a>, <a href="http://www.jetbrains.com/ruby/index.html">RubyMine</a>, <a href="http://www.codegear.com/products/3rdrail">3rd Rail</a>, or <a href="http://www.netbeans.org/features/ruby/index.html">Netbeans for Ruby</a>) have some problems running with the default Ubuntu open source java interpretors. You may check the installed java version with:</p>
<pre>java -version</pre>
<p><!--more-->To get over this, you must:</p>
<pre>sudo apt-get install sun-java6-jre
sudo update-java-alternatives -s java-6-sun</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Ruby on Rails IDE - RadRails]]></title>
<link>http://obrul.wordpress.com/2009/06/23/ruby-on-rails-ide-radrails/</link>
<pubDate>Tue, 23 Jun 2009 18:25:19 +0000</pubDate>
<dc:creator>Denis</dc:creator>
<guid>http://obrul.wordpress.com/2009/06/23/ruby-on-rails-ide-radrails/</guid>
<description><![CDATA[After finally getting Ruby and Rails to work, I&#8217;ve started playing around with various IDE]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>After finally getting Ruby and Rails to work, I&#8217;ve started playing around with various IDE&#8217;s (Integrated Development Environment). Although there&#8217;s nothing wrong with <a href="http://www.scintilla.org/SciTE.html">SciTe</a> (it comes standard with the one-click installer), I feel that more is needed once you get past the basic tutorials. This is especially obvious when it comes to debugging and code completion. I&#8217;m kinda ashamed to admit that I&#8217;ve become spoiled when it comes to code completion and I can&#8217;t imagine working without it. In other words, I&#8217;m lazy.</p>
<p>Anyway, the first IDE &#8211; <a href="http://www.aptana.com/rails">RadRails</a>. RadRails is basically Eclipse-like IDE for Rails that is added to the Aptana Studio. I&#8217;ve never been a big fan of Eclipse. I don&#8217;t feel &#8220;at home&#8221; when using it, there&#8217;s just something missing for me and I&#8217;m always wary when dealing with Eclipse plug-in&#8217;s. RadRails, apart from the familiar Eclipse looks, offers debugging (even profiling with the pro version, which probably is pro expensive as well), all sorts of editors (CSS, JS, SQL, &#8230;), code completion, testing, integrated server and so on. All in all, it doesn&#8217;t seem like a bad choice. There are, however, two quirks that I&#8217;ve came across. Firstly, a couple of exceptions were thrown during the installation. Clicking the retry button a couple of times <em>seems</em> to have solved it, but who knows what did or didn&#8217;t get installed properly. Secondly, HTML source code viewer is bugged. Instead of showing me the code, all I get is a black screen with mysterious white lines appearing everywhere I click. Here&#8217;s a picture to show what I mean.</p>
<div id="attachment_85" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-85" title="RadRails" src="http://obrul.wordpress.com/files/2009/06/radrails1.jpg?w=300" alt="A bugged HTML code viewer." width="300" height="152" /><p class="wp-caption-text">A bugged HTML code viewer.</p></div>
<p> </p>
<p>Not exactly a serious problem since there&#8217;s an easy way to fix it (just hit the <em>Add new preview</em> button and you&#8217;re done), but it becomes annoying after some time. Still, with so little choice when it comes to IDE&#8217;s, you should at least give it a try, especially if you&#8217;re already familiar with Eclipse. Personaly, I&#8217;ll stick with NetBeans for now (a review is coming after RubyMine).</p>
<p>Next time, RubyMine, the most intelligent Ruby IDE (or so they claim). See you then.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Fixed Aptana RadRails GEM_LIB issue on m...]]></title>
<link>http://blog.docuverse.com/2009/05/14/fixed-aptana-radrails-gem_lib-issue-on-m/</link>
<pubDate>Thu, 14 May 2009 14:04:38 +0000</pubDate>
<dc:creator>donpark</dc:creator>
<guid>http://blog.docuverse.com/2009/05/14/fixed-aptana-radrails-gem_lib-issue-on-m/</guid>
<description><![CDATA[Fixed Aptana RadRails GEM_LIB issue on mac by linking &#8216;/Users/{user}/.gem/ruby/1.8/gems&#8217;]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Fixed Aptana RadRails GEM_LIB issue on mac by linking &#8216;/Users/{user}/.gem/ruby/1.8/gems&#8217; to &#8216;/usr/local/lib/ruby/gems/1.8/gems&#8217;. I can&#8217;t blame Aptana for this since it was me who chose to use a tool built by a company that spread itself too thin. I doubt they have more than a couple of engineers working on RadRails which is not enough to provide the necessary quality across the range of environments Aptana is unfortuantely being asked to support.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Upgrading to RadRails 1.2.1]]></title>
<link>http://formatinternet.wordpress.com/2009/04/07/upgrading-to-radrails-1-2-1/</link>
<pubDate>Tue, 07 Apr 2009 23:49:00 +0000</pubDate>
<dc:creator>javier ramirez</dc:creator>
<guid>http://formatinternet.wordpress.com/2009/04/07/upgrading-to-radrails-1-2-1/</guid>
<description><![CDATA[Aptana RadRails 1.2 is out there. If you are lucky enough, your Aptana installation will prompt you ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Aptana RadRails 1.2 <a href="http://aptana.com/blog/cwilliams/aptana_radrails_1.2_released">is out there</a>. If you are lucky enough, your Aptana installation will prompt you to upgrade and everything will go just fine.</p>
<p>In case your installation is a bit too old, or if you installed everything manually and when checking for updates Aptana says there&#8217;s nothing new, you can still install the latest version by using Eclipse &#8220;software updates&#8221;.</p>
<p>As Chris says <a href="http://forums.aptana.com/viewtopic.php?f=20&#38;t=8591">in the forums</a>, the update site for RadRails is http://update.aptana.com/update/rails/3.2/</p>
<p>When I tried to update by using that site, I got one error because this update depends on the latest version of Aptana Studio but, you guessed it right, Aptana check for updates insisted I had already the latest one.. but I knew I didn&#8217;t.</p>
<p>Once again, you can use Eclipse standard update procedure by using the Aptana Studio update site corresponding to your eclipse version, as explained <a href="http://studio.aptana.com/023247/index.html">here</a>.</p>
<p>I&#8217;ve been using the latest version all day long and so far so good. It has some nice features like the rake files overview and the &#8220;explore files&#8221; option (I can finally say bye to the EasyStruts plugin), a polished interface, and improved compatibility with Eclipse 3.3 and 3.4.</p>
<p>Great work from the Aptana guys .</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Step 3 to a Working RadRails]]></title>
<link>http://uburails.wordpress.com/2009/02/06/step-3-to-a-working-radrails/</link>
<pubDate>Fri, 06 Feb 2009 20:20:02 +0000</pubDate>
<dc:creator>Greg</dc:creator>
<guid>http://uburails.wordpress.com/2009/02/06/step-3-to-a-working-radrails/</guid>
<description><![CDATA[With a working Aptana Studio, there&#8217;s just a couple more steps to a fully working RadRails IDE]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>With a working Aptana Studio, there&#8217;s just a couple more steps to a fully working RadRails IDE.</p>
<p><img class="alignright size-full wp-image-81" title="My Aptana" src="http://uburails.wordpress.com/files/2009/02/rr.jpg" alt="rr" width="258" height="217" />Firstly install the RadRails plug-in. Start up Aptana Studio, click plug-ins on the My Aptana tab and then click Get It under the RadRails icon. Follow the instructions and the plug-in will be downloaded and installed.<br />
When it&#8217;s installed, restart Aptana then select File/New/Other/Rails/Rails Project to create your first Rails project and to open the RadRails perspective within Aptana.</p>
<p>When you start your first Rails project RadRails will want to know where you have installed Ruby. If you&#8217;ve used a standard RubyStack install this should be in /opt/rubystack-1.2-1/ruby</p>
<p>And thats it. If you&#8217;ve followed all of these instructions you should now have a fully functioning RadRails/MySql environment running on Ubuntu.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Step 2 to a Working RadRails]]></title>
<link>http://uburails.wordpress.com/2009/02/04/step-2-to-a-working-radrails/</link>
<pubDate>Wed, 04 Feb 2009 17:10:04 +0000</pubDate>
<dc:creator>Greg</dc:creator>
<guid>http://uburails.wordpress.com/2009/02/04/step-2-to-a-working-radrails/</guid>
<description><![CDATA[Having installed my RubyStack, next job was to install RadRails. RadRails is a plug-in to the Aptana]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Having installed my RubyStack, next job was to install RadRails. RadRails is a plug-in to the Aptana Studio a development IDE that can be used for PHP, Rails, iPhone, Air and Ajax development. To install do the following:</p>
<ol>
<li>Install lates version of Java, needed to run Eclipse, the underlying IDE behind RadRails. Do this the easy way using the Synaptic Package Manager in System/Administration . Search for Java and select the latest Sun release release. Sun-java6-bin when I did my install.</li>
<li>Install Aptana Studio. Download Linux version of Aptana Studio from <a href="http://www.aptana.com/studio/download">here</a> and install. I installed into my home directory.</li>
</ol>
<p>Unfortunately Aptana Studio as installed doesn&#8217;t work on Ubuntu Intrepid Ibex. If you start the application you will recieve the following error &#8220;An SWT error has occured. You are recommended to exit the workbench.&#8221; This error happens because Aptana Studio 1.2.1 will not run with the Firefox 3 which is included with Ubuntu. Some people recommend reverting to Firefox 2, but there is a simpler way to get around the problem, and thats to create a shell file to start Aptana Studio as follows</p>
<ol>
<li>Download and install <a href="http://en.wikipedia.org/wiki/XULRunner">xulrunner</a> using the Synaptic Package Manager</li>
<li>Create a file called apstart.sh in your Aptana directory containing the follow commands (remember to substitute user with your username)<br />
<code><font size="-2">export MOZILLA_FIVE_HOME=/usr/lib/xulrunner<br />
/home/user/aptana/AptanaStudio</code></li>
<li>Use apstart.sh to start Aptana Studio</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Step 1 to a Working RadRails ]]></title>
<link>http://uburails.wordpress.com/2009/02/02/step-1-to-a-working-radrails/</link>
<pubDate>Mon, 02 Feb 2009 20:16:25 +0000</pubDate>
<dc:creator>Greg</dc:creator>
<guid>http://uburails.wordpress.com/2009/02/02/step-1-to-a-working-radrails/</guid>
<description><![CDATA[After the joy of an easy Ubuntu install Getting my desired development environment up and running wa]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>After the joy of an easy Ubuntu install Getting my desired development environment up and running was not such an easy task. As stated in an earlier post I had decided to use Aptana&#8217;s RadRails IDE and although their website says it will happily run on Ubuntu, sadly it&#8217;s lacking in decent instructions on how to achieve it.</p>
<p>Having googled the problem I discovered I wasn&#8217;t the first to want to do this and found a number of blog entries describing the detailed process of installing all of the pre-requisites (Ruby, MySql etc.) Strangely all of the blog entries I looked at gave different instructions to build the environment. Sadly I never managed to find a single set of instructions that worked. Every time I would hit a different problem and a different piece of the jig-saw wouldn&#8217;t fit, therefore another re-install of Ubuntu and another set of instructions to follow. I&#8217;m sure the problems arose from me using different versions of software from when the instructions had been created, particularly as I was using the latest, Intrepid Ibex, release of Ubuntu.<a href="http://bitnami.org/stack/rubystack"><img class="alignleft size-full wp-image-49" title="RubyStack" src="http://uburails.wordpress.com/files/2009/02/stack.jpg" alt="RubyStack" width="93" height="126" /></a></p>
<p>After trying a large number of different instructions I finally found the answer to my prayers in Bitnami&#8217;s <a title="http://bitnami.org/stack/rubystack" href="http://">RubyStack</a>. RubyStack is a single installer that greatly simplifies the installation of Ruby on Rails and its runtime dependencies. It includes ready-to-run versions of Ruby, Rails, MySQL and Subversion as well as a number of third-party libraries and most it importantly <strong>it works</strong>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Entrevista en infoq sobre Aptana RadRails]]></title>
<link>http://formatinternet.wordpress.com/2008/12/03/entrevista-en-infoq-sobre-aptana-radrails/</link>
<pubDate>Wed, 03 Dec 2008 22:33:44 +0000</pubDate>
<dc:creator>javier ramirez</dc:creator>
<guid>http://formatinternet.wordpress.com/2008/12/03/entrevista-en-infoq-sobre-aptana-radrails/</guid>
<description><![CDATA[Hace unos meses, Rob Bazinet, uno de los editores de InfoQ se puso en contacto conmigo para hacerme ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hace unos meses, Rob Bazinet, uno de los <a href="http://www.infoq.com/about.jsp">editores de InfoQ</a> se puso en contacto conmigo para hacerme una entrevista con motivo de la publicación de <a href="http://www.packtpub.com/aptana-rapid-rails-development/book">mi libro sobre RadRails</a>.</p>
<p>Un ratico después, <a href="http://www.infoq.com/articles/javier-ramirez-interview">aquí está el resultado</a></p>
<p>searchwords: aptana radrails, javier ramirez, book, interview</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Ruby with Vistual Studio]]></title>
<link>http://ictsu3.wordpress.com/2008/10/28/ruby-with-vistual-studio/</link>
<pubDate>Tue, 28 Oct 2008 07:42:33 +0000</pubDate>
<dc:creator>AdmOd</dc:creator>
<guid>http://ictsu3.wordpress.com/2008/10/28/ruby-with-vistual-studio/</guid>
<description><![CDATA[เข้าใจว่าทุกคนคงเคยผ่านในรายวิชา Programming in Visual Language มาแล้ว คงจะคุ้นเคยหน้าตาของ Visual S]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>เข้าใจว่าทุกคนคงเคยผ่านในรายวิชา Programming in Visual Language มาแล้ว คงจะคุ้นเคยหน้าตาของ <a class="zem_slink" title="Microsoft Visual Studio" rel="homepage" href="http://msdn.microsoft.com/vstudio/">Visual Studio</a> มากกว่า แต่ก็มีหลายๆคนที่หันไปใช้ภาษา <a class="zem_slink" title="Ruby (programming language)" rel="homepage" href="http://www.ruby-lang.org/">Ruby</a> ซึ่งอาจไม่ค่อยคุ้นเคยกับหน้าตาของโปรแกรมสักเท่าไหร่</p>
<p>เพิ่งไปเจอ <a class="zem_slink" title="Integrated development environment" rel="wikipedia" href="http://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a> ตัวหนึ่งที่เรียกว่า <a href="http://www.sapphiresteel.com/">Ruby in Steel</a> ซึ่งเป็นกลุ่มนักพัฒนาที่พัฒนาเอาตัว Ruby, <a class="zem_slink" title="Ruby on Rails" rel="homepage" href="http://www.rubyonrails.com">Rails</a> เข้ามาใช้ร่วมกับ Visual Studio</p>
<p>มาดูหนังหน้าโปรแกรมกัน (กดเพื่อดูรูปอื่นๆ)</p>
<p><a rel="attachment wp-att-57" href="http://ictsu3.wordpress.com/2008/10/28/ruby-with-vistual-studio/visual-rails-workbench/"><img class="alignnone size-full wp-image-57" title="visual-rails-workbench" src="http://ictsu3.wordpress.com/files/2008/10/visual-rails-workbench.gif" alt="" width="500" height="375" /></a></p>
<p>ซึ่งแน่นอนว่า &#8220;มันไม่ฟรี&#8221;</p>
<p>49$ สำหรับ Text Edition และ<br />
199$ สำหรับ Developer Edition</p>
<p>ความสามารถทั่วไปคล้าย <a class="zem_slink" title="Aptana" rel="homepage" href="http://www.aptana.com">Aptana</a> (<a class="zem_slink" title="RadRails" rel="homepage" href="http://aptana.com/rails/">RadRails</a>) แต่ด้วยหน้าตาที่คุ้นเคยน่าจะทำให้ใช้งานกันได้สะดวกมากกว่า</p>
<p>แต่เดี๋ยวก่อน! ยังมี <a href="http://www.sapphiresteel.com/Ruby-In-Steel-New-Free-Edition">Personal Edition</a> ซึ่งแน่นอนว่า<em>ฟรี</em></p>
<p>สำหรับผู้ที่สนใจ สามารถดาวน์โหลดตัวโปรแกรมได้จากลิงค์ข้างต้น และ</p>
<ul>
<li><a href="http://www.sapphiresteel.com/The-Book-Of-Ruby">ebook</a> เบื้องต้น</li>
<li><a href="http://www.sapphiresteel.com/Learn-Ruby-In-Steel-With-Movies">video</a> เบื้องต้น</li>
</ul>
<p>เพิ่มเติมก็คือหนังสือ Ruby on Rail (RoR) ทั่วๆไปนั่นเอง</p>
<p>เอเมน~~~~~~~~~</p>
<div class="zemanta-pixie" style="margin-top:10px;height:15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/485fb853-8e98-4cae-939b-5e704340cc29/"><img class="zemanta-pixie-img" style="border:medium none;float:right;" src="http://img.zemanta.com/reblog_e.png?x-id=485fb853-8e98-4cae-939b-5e704340cc29" alt="Reblog this post [with Zemanta]" /></a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Agile web development with Ruby on Rails]]></title>
<link>http://daudahmed.wordpress.com/2008/10/13/agile-web-development-with-ruby-on-rails/</link>
<pubDate>Mon, 13 Oct 2008 12:23:49 +0000</pubDate>
<dc:creator>Daud Ahmad</dc:creator>
<guid>http://daudahmed.wordpress.com/2008/10/13/agile-web-development-with-ruby-on-rails/</guid>
<description><![CDATA[So I&#8217;ve decided to check out this new Ruby on Rails thing. The Rails framework is based on the]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft" title="Rails" src="http://images.tdaxp.com/tdaxp_upload/agile_web_development_with_rails_md.jpg" alt="" width="228" height="274" />So I&#8217;ve decided to check out this new <a href="http://www.rubyonrails.org/">Ruby on Rails</a> thing. The Rails framework is based on the <a href="www.ruby-lang.org/">Ruby</a> programming language which has apparently been around for quite some time. But it has become more mainstream acceptance/approval due to the Rails framework. Ruby looks really cool. Rails might not be the best way to learn it but I&#8217;ll do it anyway just to get the feel for web development in Rails. I&#8217;ve been in some stuff in ASP.Net but its Webforms model provides a lot of abstraction over the whole HTTP thing.</p>
<p>Anyway I got this book on <a href="http://www.amazon.com/s?ie=UTF8&#38;tag=mozilla-20&#38;index=blended&#38;link_code=qs&#38;field-keywords=agile web development with rails&#38;sourceid=Mozilla-search">Agile Web Development with Rails</a>. The 2nd edition (2005) is a bit dated and some things seem to have changed in Rails since then. But it still seems to be a pretty good book, so I&#8217;m will go through it and learn how Rails works. For all new stuff there&#8217;s always the internet. Instead of installing and configuring Ruby, Rails and other stuff like web servers etc. I&#8217;m using <a href="http://instantrails.rubyforge.org/wiki/wiki.pl">Instant Rails</a>. All the required stuff is pre-configured and ready to run. No installation required. For an IDE, <a href="http://www.aptana.com/rails/">Aptana Rad Rails</a>. I&#8217;ve configured it to use Instant Rails. I could&#8217;ve simply used something like Notepad++ but I like to have intellisense. So lets see if I can find the time to actually do it&#8230;</p>
<p>Check  out this great post about <a href="http://betterexplained.com/articles/starting-ruby-on-rails-what-i-wish-i-knew/">Starting Ruby on Rails: What I Wish I Knew</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Aptana Goes into the Clouds]]></title>
<link>http://dontforgettoplantit.wordpress.com/2008/09/07/aptana-goes-into-the-clouds/</link>
<pubDate>Sun, 07 Sep 2008 13:53:35 +0000</pubDate>
<dc:creator>Calvin</dc:creator>
<guid>http://dontforgettoplantit.wordpress.com/2008/09/07/aptana-goes-into-the-clouds/</guid>
<description><![CDATA[I use Aptana for RoR development.  Not because it&#8217;s a good Ruby or Rails IDE, but because I do]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I use <a title="Aptana Website" href="http://www.aptana.com">Aptana</a> for RoR development.  Not because it&#8217;s a good Ruby or Rails IDE, but because I do so much Java at my paying job and switching between Java development on Eclipse to RoR development on Aptana is a breeze.  Today, I was checking out Aptana&#8217;s website for updates when I noticed that they now have a product called <a href="http://www.aptana.com/cloud">Aptana Cloud</a>.</p>
<p>Aptana Cloud appears to be a integrated deployment/hosting platform for Aptana.  You can write applications in PHP, Jaxer (Aptana&#8217;s AJAX framework), and Ruby on Rails (coming soon), and deploy them to a cloud with a push of a button.  Right now, it deploys to Joyent&#8217;s Cloud, but it appears that the intention is to be provider agnostic, which would be key for adoption.</p>
<p>I&#8217;m very interested in trying this out, though I&#8217;m going to wait until RoR support is ready.  Hopefully, this will lead to some standards to cloud computing, making it easier to switch from one provider to another.  No doubt this is where lightweight development frameworks should be going (looking at you Appcelerator).</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Lorem Ipsum is simply...]]></title>
<link>http://matzbar.wordpress.com/2008/07/14/lorem-ipsum-is-simply/</link>
<pubDate>Mon, 14 Jul 2008 20:29:02 +0000</pubDate>
<dc:creator>matzbar</dc:creator>
<guid>http://matzbar.wordpress.com/2008/07/14/lorem-ipsum-is-simply/</guid>
<description><![CDATA[Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Lorem Ipsum</strong> is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#8217;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dicas rápidas de RADRails III - Aba Generators]]></title>
<link>http://hramos.wordpress.com/2008/05/23/dicas-de-radrails-iii-aba-generators/</link>
<pubDate>Sat, 24 May 2008 01:37:59 +0000</pubDate>
<dc:creator>hollanderramos</dc:creator>
<guid>http://hramos.wordpress.com/2008/05/23/dicas-de-radrails-iii-aba-generators/</guid>
<description><![CDATA[Continuando a série de dicas sobre o RADRails, a abordagem agora é sobre a aba Generators. Esta opçã]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Continuando a série de dicas sobre o RADRails, a abordagem agora é sobre a aba Generators. Esta opção serve para gerar um &#8220;esqueleto&#8221; selecionando o modo <strong>create</strong> ou apagar os arquivos criados selecionando o modo <strong>destroy</strong> pelo Rails.</p>
<p>No campo <strong>Generator</strong>, as possibilidades de seleção são:</p>
<p><strong>controller</strong> &#8211; Cria o  controle passado como parâmetro.</p>
<p><strong>integration_test</strong> &#8211; Cria um teste de integração. O arquivo deve começar com maiúsculas ou underscore (_) e não pode começar com a palavra Test.</p>
<p><strong>mailer</strong> &#8211; Cria um modelo para formulário de envio de e-mail.</p>
<p><strong>migration</strong> &#8211; Cria um arquivo para migração de banco de dados.</p>
<p><strong>model</strong> &#8211; Cria uma classe de modelo que será utilizada para comunicação com o BD.</p>
<p><strong>observer</strong> &#8211; Cria um modelo e um arquivo para testes. Um observer serve para monitorar a vida de um evento de um modelo sem ter que &#8211; para isso &#8211; criar a lógica dentro do próprio modelo. Confuso não? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>plugin</strong> &#8211; Serve para criar um plugin que acrescenta funcionalidades a outros projetos.</p>
<p><strong>scaffold</strong> &#8211; Um dos recursos mais poderosos (porém não completo) do Rails. Cria automaticamente um modelo, controle e visão sobre uma tabela do BD, deixando pronto ao uso. Útil para ganhar produtividade, porém não muito flexível para personalização.</p>
<p><strong>Opções: (entre parênteses a opção em linha de comando)</strong></p>
<p><strong>Pretend (-p ou &#8211;pretend)</strong> &#8211; Executa o script, mas não faz nenhuma mudança. Bom para verificar erros de sintaxe.</p>
<p><strong>Force (-f ou &#8211;force)</strong> &#8211; Sobrepõe arquivos que já tenham sido anteriormente criados.</p>
<p><strong>Skip (-s ou &#8211;skip)</strong> &#8211; Preserva arquivos que já tenham sido anteriormente criados.</p>
<p><strong>Quiet (-q ou &#8211;quiet)</strong> &#8211; Omite a saída dos comandos no console</p>
<p><strong>Backtrace (-t ou &#8211;backtrace)</strong> &#8211; Utilizado para depuração</p>
<p><strong>Use SVN (-c ou &#8211;svn)</strong> &#8211; Modifica os arquivos com o Subversion</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dicas rápidas de RADRails II - Aba Servers]]></title>
<link>http://hramos.wordpress.com/2008/05/16/dicas-de-radrails-ii-aba-servers/</link>
<pubDate>Sat, 17 May 2008 00:11:11 +0000</pubDate>
<dc:creator>hollanderramos</dc:creator>
<guid>http://hramos.wordpress.com/2008/05/16/dicas-de-radrails-ii-aba-servers/</guid>
<description><![CDATA[Continuando as dicas sobre RadRails 1.0, vamos discorrer a respeito da guia servers. A guia exibe um]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Continuando as dicas sobre RadRails 1.0, vamos discorrer a respeito da guia servers.</p>
<p>A guia exibe uma lista dos servidores que estão em serviço. A alternativa via menu para esta aba é:<br />
<strong>Window</strong> &#62; <strong>Show View</strong> &#62; <strong>Other&#8230;</strong>, após abrir a janela <strong>Show View</strong>, selecione <strong>Aptana Standard Views</strong> e finalmente <strong>Servers</strong>.</p>
<p>Normalmente para cada projeto criado, um servidor estará listado. A grade contém os campos:</p>
<ul>
<li><strong>Name</strong> &#8211; Nome do servidor</li>
</ul>
<ul>
<li><strong>Status</strong> &#8211; Indica se o servidor está parado (stopping) ou rodando (running)</li>
</ul>
<ul>
<li><strong>Description</strong> &#8211; Descrição do servidor.</li>
</ul>
<ul>
<li><strong>Type</strong> &#8211; Tipo do servidor</li>
</ul>
<ul>
<li><strong>Host</strong> &#8211; Endereço IP sob a qual o servidor estará rodando.</li>
</ul>
<ul>
<li> <strong>Port</strong> &#8211; Porta de serviço</li>
</ul>
<p>Para editar os parâmetros de um servidor, dê um duplo clique sobre a opção. O servidor deverá ser parado (stopping) antes de ser alterado. E o que pode ser alterado? Esta opção varia de acordo com o servidor. No caso de um servidor Rails, são apresentados os seguintes parâmetros:</p>
<ul>
<li>O <strong>nome</strong> do servidor;</li>
</ul>
<ul>
<li> O seu <strong>tipo</strong> quando o servidor instalado assim permitir, exemplo Rails permite: WEBRick, Mongrel ou LighTPD;</li>
</ul>
<ul>
<li> O <strong>endereço</strong> IP do host;</li>
</ul>
<ul>
<li> A <strong>porta</strong>;</li>
</ul>
<ul>
<li> E o <strong>ambiente</strong> (Desenvolvimento, Produção ou testes).</li>
</ul>
<p>A barra de ferramentas possui as demais opções (que também pode ser acessada via botão direito do mouse):<br />
<strong></strong></p>
<p><strong>Add Server </strong>- Permite adicionar e configurar um novo servidor através da lista de opções exibidas:</p>
<ul>
<li><strong>Apache Server </strong>- Configura um servidor web Apache.</li>
</ul>
<ul>
<li><strong>Internal Jetty Server</strong> &#8211; Configura um servidor web baseado em Java.</li>
</ul>
<ul>
<li><strong>Jaxer Server / Package Server</strong> &#8211; Configura um servidor web capaz de reconhecer instruções AJAX tanto do lado cliente como do lado servidor.</li>
</ul>
<ul>
<li><strong>MySQL Server</strong> &#8211; Adiciona um servidor de Banco de Dados MySQL</li>
</ul>
<ul>
<li><strong>Rails Server</strong> &#8211; Um dos servidores do RoR.</li>
</ul>
<ul>
<li> <strong>XAMPP Server</strong> &#8211; Distribuição que contempla um servidor Apache, MySQL, PHP e Pearl em um único pacote.</li>
</ul>
<p><strong>Start Server</strong> &#8211; Põe o servidor para rodar (running mode)<br />
<strong></strong></p>
<p><strong>Start Server in Debug Mode</strong> &#8211; Põe o servidor para rodar em modo de depuração de erros.<br />
<strong></strong></p>
<p><strong>Restart Server</strong> &#8211; Aplicado apenas para servidores já iniciados, encerra o serviço e ativa-o novamente.<br />
<strong></strong></p>
<p><strong>Pause Server</strong> &#8211; Interrompe temporariamente o servidor.<br />
<strong></strong></p>
<p><strong>Stop Server</strong> &#8211; Encerra o servidor de modo definitivo.<br />
<strong></strong></p>
<p><strong>Open Console Shell</strong> &#8211; Abre a aba de console contendo informações sobre o atual serviço.<br />
<strong></strong></p>
<p><strong>Open Log</strong> &#8211; Abre os arquivos de registro sobre o andamento do servidor.<br />
<strong></strong></p>
<p><strong>View Statistics </strong>- Exibe dados relativos a estatística do servidor. As estatísticas não estão disponíveis para todos os tipos de servidor.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Aptana RadRails. El libro... Mi libro ;)]]></title>
<link>http://formatinternet.wordpress.com/2008/05/05/aptana-radrails-el-libro-mi-libro/</link>
<pubDate>Mon, 05 May 2008 00:17:48 +0000</pubDate>
<dc:creator>javier ramirez</dc:creator>
<guid>http://formatinternet.wordpress.com/2008/05/05/aptana-radrails-el-libro-mi-libro/</guid>
<description><![CDATA[Ya va quedando menos para que se publique el libro de RadRails en el que llevo trabajando varios mes]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ya va quedando menos para que se publique <a href="http://www.packtpub.com/aptana-rapid-rails-development/book">el libro de RadRails</a> en el que llevo trabajando varios meses. Acabo de terminar los últimos cambios después de las revisiones técnicas y ya queda sólo la revisión de estilo de los últimos tres capítulos. </p>
<p><a href="http://www.packtpub.com/aptana-rapid-rails-development/book"><img src='http://images.packtpub.com/images/100x123/1847193986.png' alt='portada del libro' class='alignright' /></a></p>
<p>En la web de la <a href="http://www.packtpub.com">editorial </a>ya han creado la <a href="http://www.packtpub.com/aptana-rapid-rails-development/book">página para el libro</a>, así que parece que esto ya no tiene marcha atrás (aunque el título todavía podría sufrir algún cambio)</p>
<p>La verdad es que tiene su aquel eso de ver tu nombre en la portada de un libro&#8230; y eso que al final no han escogido mi propuesta de foto para la portada <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://formatinternet.files.wordpress.com/2008/05/robot_on_rails_thumbnail.jpg"><img src="http://formatinternet.wordpress.com/files/2008/05/robot_on_rails_thumbnail.jpg?w=300" alt="mi propuesta de portada" width="300" height="225" class="size-medium wp-image-68" /></a></p>
<p>searchwords: javier ramirez, radrails, aptana, aptana radrails book</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dicas rápidas de RADRails I - Novo Projeto]]></title>
<link>http://hramos.wordpress.com/2008/04/29/dicas-rapidas-de-radrails-i-novo-projeto/</link>
<pubDate>Wed, 30 Apr 2008 01:06:30 +0000</pubDate>
<dc:creator>hollanderramos</dc:creator>
<guid>http://hramos.wordpress.com/2008/04/29/dicas-rapidas-de-radrails-i-novo-projeto/</guid>
<description><![CDATA[Como dito aqui RADRails é uma excelente IDE de desenvolvimento para RoR (Ruby on Rails). Nesta peque]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Como dito <a href="http://hramos.wordpress.com/2008/04/21/radrails/">aqui</a> RADRails é uma excelente IDE de desenvolvimento para RoR (Ruby on Rails). Nesta pequena série de artigos eu vou explicar rapidamente alguns dos comandos básicos desta ferramenta.</p>
<p>Vamos começar a série com os comandos para criar um novo projeto.</p>
<p>Utilize o menu: <strong>File </strong>&#62; <strong>New </strong>&#62; <strong>Project </strong>e abra a pasta <strong>Rails</strong>. Selecione a opção <strong>RailsProject </strong>e clique no botão <strong>Next</strong>.<br />
<span style="text-decoration:underline;">Atalho:</span> Pressione simultaneamente as teclas <strong>ALT+SHIFT+N</strong>, depois tecle <strong>R</strong>.</p>
<p>Na nova tela que abriu, digite o nome do seu projeto no campo <strong>Project Name</strong>. Você pode definir a localização para armazenamento do projeto ou optar pela localização padrão. Para tanto selecione o campo <strong>Use default location</strong>. O campo só é editável quando a localização padrão não está selecionada.</p>
<p>No grupo options (opções), mantenha a opção <strong>Generate Rails application skeleton</strong> habilitada. Habilitado toda a estrutura de pastas e arquivos serão automaticamente criados.</p>
<p>Selecione o tipo <strong>database</strong> (banco de dados) que você está trabalhando e o <strong>Rails version</strong> (versão do Rails) para desenvolvimento. Salvo rara exceção, a opção <strong>latest</strong> é a escolha.</p>
<p><strong>Create a WEBrick server</strong> e/ou <strong>Mongrel server</strong> estas opções servem para ativar a criação do servidor host da aplicação. WEBrick é o servidor padrão que vem junto com o Ruby. É uma boa opção quando em fase de testes e desenvolvimento da aplicação. Já o Mongrel possui maior performance sendo escrito em Ruby e desenvolvido para o Rails. É a melhor opção para produção.<br />
Selecione a opção <strong>Automatic start server after project is created</strong> para ativar o servidor assim que o projeto for criado. Caso contrário, você terá que iniciar manualmente.<br />
<strong>Disable table pluralization</strong> desativa a convenção de pluralização dos métodos. Para saber como a pluralização trabalha veja o <a href="http://hramos.wordpress.com/2008/04/24/programar-em-ingles-ou-desativar-a-pluralizacao/">post</a> sobre este assunto. Clique no botão <strong>next</strong> para completar a criação do projeto.</p>
<p>Para abrir a perspectiva de desenvolvimento em Rails, selecione no menu:</p>
<p><strong>Window</strong>, <strong>Open Pespective</strong>, <strong>Other&#8230;</strong> selecionando <strong>RadRails</strong> na janela que foi exibida.</p>
<p>Por hoje é só. No próximo artigo vamos conhecer as guias Servers, Generators, Rake Tasks e Console.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Criando uma aplicação Rails 2.0 em 10 cliques (com bd)]]></title>
<link>http://silvadeveloper.wordpress.com/2008/04/24/criando-uma-aplicacao-rails-20-em-10-cliques-com-bd/</link>
<pubDate>Thu, 24 Apr 2008 17:03:15 +0000</pubDate>
<dc:creator>Silva Developer</dc:creator>
<guid>http://silvadeveloper.wordpress.com/2008/04/24/criando-uma-aplicacao-rails-20-em-10-cliques-com-bd/</guid>
<description><![CDATA[Iniciando É com muito orgulho que apresento a vocês mais uma contribuição, este tutorial de como cri]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p align="left"><strong>Iniciando</strong></p>
<p align="justify">É com muito orgulho que apresento a vocês mais uma contribuição, este tutorial de como criar uma aplicação Rails 2.0 em poucos cliques, utilizando ferramenta RadRails.<br />
Este tutorial utiliza, <a href="http://rubyforge.org/frs/?group_id=426" target="_blank">Ruby 1.8.6-26</a>, <a href="http://rubyforge.org/frs/?group_id=307" target="_blank">Rails 2.0.2</a> e a IDE <a href="http://www.aptana.com/studio/download" target="_blank">Aptana Studio RadRails 1.0.1</a>, todos rodando sobre o Windows XP.Estou partindo do princípio de que você tenha os mesmos devidamente instalados em seu computador e que você tenha conhecimentos básicos necessários de Ruby e Rails.</p>
<p align="left"><strong>Primeiro clique: Abrindo o RadRails</strong></p>
<p align="justify">Abra a IDE Aptana Studio RadRails, para isso vá em Inicar / Programas / Aptana / Aptana Studio.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/abrindo_aptana.jpg"><img class="aligncenter size-full wp-image-48" src="http://silvadeveloper.wordpress.com/files/2008/05/abrindo_aptana.jpg" alt="" width="510" height="643" /></a></p>
<p align="justify">Pra quem ainda nunca utilizou o RadRails, eis uma breve explicação sobre seu ambiente:</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/ambiente_aptana_1024.jpg"><img class="aligncenter size-full wp-image-49" src="http://silvadeveloper.wordpress.com/files/2008/05/ambiente_aptana_1024.jpg" alt="" width="510" height="382" /></a></p>
<p align="center">Clique na imagem para vê-la ampliada</p>
<p align="left"><strong>Segundo clique: Criando novo projeto</strong></p>
<p align="justify">Para criar nosso projeto é bem simples, clique em File / New / Rails Project.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/file_new_railsproject.jpg"><img class="aligncenter size-full wp-image-50" src="http://silvadeveloper.wordpress.com/files/2008/05/file_new_railsproject.jpg" alt="" width="474" height="515" /></a></p>
<p align="justify">Em seguida irá abrir a seguinte janela de opções para seu novo projeto que será criado:</p>
<p align="center"><a href="http://silvadeveloper.wordpress.com/files/2008/05/project_name_e_database.jpg"><img class="aligncenter size-full wp-image-51" src="http://silvadeveloper.wordpress.com/files/2008/05/project_name_e_database.jpg" alt="" width="438" height="512" /></a></p>
<p align="center">Veja em seguida que seu projeto foi gerado e o servidor iniciado automaticamente.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/welcome.jpg"><img class="aligncenter size-full wp-image-52" src="http://silvadeveloper.wordpress.com/files/2008/05/welcome.jpg" alt="" width="400" height="285" /></a></p>
<p><strong>Terceiro clique: Configurando o acesso do seu projeto ao banco de dados</strong></p>
<p align="justify">A primeira coisa que se deve fazer ao gerar o seu projeto, é definir o modo em que ele irá fazer acesso ao banco de dados.Para isso, abra o arquivo database.yml, que se encontra na estrutura do seu projeto rails, dentro da pasta config.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/config_database-yml.jpg"><img class="aligncenter size-full wp-image-53" src="http://silvadeveloper.wordpress.com/files/2008/05/config_database-yml.jpg" alt="" width="510" height="425" /></a></p>
<p><strong>Quarto clique: Criando o banco de dados</strong></p>
<p align="justify">Configurado o acesso do seu projeto ao banco de dados, já podemos mandar o Rails criar o nosso banco de dados de acordo com a configuração informada no arquivo database.yml, para isso, clique na guia Rake tasks, em seguida selecione o comando db:create:all e clique no botão GO.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/rake_db_create_all1.jpg"><img class="aligncenter size-full wp-image-54" src="http://silvadeveloper.wordpress.com/files/2008/05/rake_db_create_all1.jpg" alt="" width="509" height="106" /></a></p>
<p align="justify">Feito isso, abra sua ferramenta de visualização do Mysql e veja os banco de dados gerados pelo rails para seu projeto, conforme indicado no arquivo database.yml</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/visualiza_depois_db_create_all1.jpg"><img class="aligncenter size-full wp-image-55" src="http://silvadeveloper.wordpress.com/files/2008/05/visualiza_depois_db_create_all1.jpg" alt="" width="183" height="197" /></a></p>
<p align="left"><strong>Quinto clique: Criando um Model</strong></p>
<p align="justify">Model é o código que envolve uma tabela em seu banco de dados, para gerar um módulo no RadRails é muito simples, clique na guia generators, na caixa de listagem generator, selecione a opção model.Em seguida, insira no campo Parameters, o nome que deseja dar ao seu model e por fim clique no botão GO.Lembrando que, por convenção e pelo fato de o Rails possuir um sistema automático de pluralização, ou seja, por exemplo, se você deseja criar um model para acessar a tabela de clientes, o nome do módulo deve ser cliente, no singular, assim, automaticamente o rails irá entender que a tabela a ser gerada e manipulada pelo model será clientes.</p>
<p><a href="http://silvadeveloper.wordpress.com/files/2008/05/generators_model.jpg"><img class="aligncenter size-full wp-image-56" src="http://silvadeveloper.wordpress.com/files/2008/05/generators_model.jpg" alt="" width="509" height="106" /></a><a href="http://bp1.blogger.com/_ND884NMiJbw/SAufmrry2kI/AAAAAAAAAZI/D6EGwjeHrhk/s1600-h/generators_model.jpg"> </a></p>
<p align="justify">Veja como você pode acompanhar na guia Console, o andamento das ações e os comandos que estão sendo executados pelo rails, durante a geração do model.</p>
<p align="justify"><a href="http://silvadeveloper.files.wordpress.com/2008/05/console_model.jpg"><img class="aligncenter size-full wp-image-57" src="http://silvadeveloper.wordpress.com/files/2008/05/console_model.jpg" alt="" width="509" height="106" /></a></p>
<p align="justify">Ao criar um model, o Rails cria dentro da pasta db, uma pasta com nome migrate, e um arquivo com nome predefinido: 001_create_nomedasuatabela.rb, arquivo este que será responsável por conter as definições que serão aplicadas na tabela que o model gerado manipulará, no nosso caso, o model cliente, manipulará a tabela clientes, e foi gerado o arquivo <span style="color:#0000ff;">001_create_clientes.rb</span>, Através do Ruby Explorer, você pode visualizar e editar este arquivo.</p>
<p><a href="http://silvadeveloper.wordpress.com/files/2008/05/rubyexplorer_001_create_clientes-rb.jpg"><img class="aligncenter size-full wp-image-58" src="http://silvadeveloper.wordpress.com/files/2008/05/rubyexplorer_001_create_clientes-rb.jpg" alt="" width="240" height="675" /></a></p>
<p align="justify">Clique duas vezes sobre o nome do arquivo no ruby explorer, ao abrir o arquivo na tela principal do RadRails, insira a composição que você deseja em sua tabela, no nosso caso será assim:</p>
<div>
<pre><span style="color:#000000;">
class CreateClientes &#60; ActiveRecord::Migration
  def self.up
    create_table :clientes do &#124;t&#124;
    t.string :razao, :fantasia, :endereco, :bairro, :cep,
             :cidade, :estado, :fone, :email, :cnpjcpf, :ierg
    t.timestamps
    end
  end

  def self.down
    drop_table :clientes
  end
end
</span></pre>
</div>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/001_create_clientes-rb.jpg"><img class="aligncenter size-full wp-image-59" src="http://silvadeveloper.wordpress.com/files/2008/05/001_create_clientes-rb.jpg" alt="" width="510" height="454" /></a></p>
<p align="justify">O método self.up, cria uma tabela chamada clientes com 11 colunas:<br />
* Id (gerado automaticamente chave primária);<br />
* razao;<br />
* fantasia;<br />
* endereco;<br />
* bairro;<br />
* cep;<br />
* cidade;<br />
* estado;<br />
* fone;<br />
* email;<br />
* cnpjcpf;<br />
* ierg;</p>
<p>O método down, remove a tabela.</p>
<p align="left"><strong>Sexto clique: Realizando migração</strong></p>
<p align="justify">Alterada as definições de criação da tabela clientes no arquivo 001_create_clientes.rb, basta realizarmos a migração para que o Rails crie a tabela de acordo com as especificações inseridas no arquivo.Para fazer a migração, clique na guia rake tasks, na caixa de opções tasks, selecione o comando db:migrate e em seguida clique no botão GO.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/rake_db_migrate1.jpg"><img class="aligncenter size-full wp-image-60" src="http://silvadeveloper.wordpress.com/files/2008/05/rake_db_migrate1.jpg" alt="" width="510" height="111" /></a></p>
<p align="justify">Para conferir a migração, abra sua ferramenta de visualização do Mysql e veja a tabela gerada pelo rails:</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/visualiza_depois_db_migrate1.jpg"><img class="aligncenter size-full wp-image-61" src="http://silvadeveloper.wordpress.com/files/2008/05/visualiza_depois_db_migrate1.jpg" alt="" width="336" height="274" /></a></p>
<p align="left"><strong>Sétimo clique: Criando um controller</strong></p>
<p align="justify">O controlador contém a código (lógica) da interação entre o ponto de vista e do model.Para criar um controlador, basta clicar na guia generators, na caixa de opções generate, selecione controller, no campo Parameters insira o nome do controlador e por fim clique em GO.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/generators_controller.jpg"><img class="aligncenter size-full wp-image-62" src="http://silvadeveloper.wordpress.com/files/2008/05/generators_controller.jpg" alt="" width="510" height="111" /></a></p>
<p align="justify">Após criado o controlador, você poderá visualizado e editá-lo no ruby explorer, dentro da pasta app/controllers.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/rubyexplorer_clientes_controller.jpg"><img class="aligncenter size-full wp-image-63" src="http://silvadeveloper.wordpress.com/files/2008/05/rubyexplorer_clientes_controller.jpg" alt="" width="240" height="675" /></a></p>
<p align="justify">No controlador é inserido os métodos (actions).Iremos inserir os seguintes métodos (actions) no controlador do nosso exemplo, veja o código:</p>
<div>
<pre><span style="color:#000000;">
class ClientesController &#60; ApplicationController
  protect_from_forgery :except =&#62; []

  def index     

    render :text =&#62; "Home - Página principal"

  end

  def consulta

    @clientes = Cliente.find(:all)

    render <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_mad.gif' alt=':x' class='wp-smiley' /> ml =&#62; @clientes.to_xml

  end

end
</span></pre>
</div>
<p align="justify">No código acima, é criado 2 métodos (actions), o index que retornará um texto quando for invocado, e o consulta, que retornará em formato xml todos os registros da tabela clientes.</p>
<p align="justify">Repare que o código <span style="color:#000000;">protect_from_forgery :except =&#62; [:cadastra,:atualiza,:deleta]</span> antes da criação dos métodos, pois na nova versão do ruby para evitar acessos indevidos em seu banco, ele foi incrementado com uma clausula de segurança que por padrão, seu estado é bloqueado para tudo, colocando este comando, você informará ao Rails que ele poderá abrir exceções para os métodos discriminados entre colchetes, podendo assim, os mesmos fazerem inserções e alterações em seus dados.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/clientes_controller.jpg"><img class="aligncenter size-full wp-image-64" src="http://silvadeveloper.wordpress.com/files/2008/05/clientes_controller.jpg" alt="" width="510" height="454" /></a></p>
<p align="left"><strong>Oitavo clique: Criando rotas (routes.rb)</strong></p>
<p align="justify">Criado seu controlador, devemos fazer o roteamento das actions no nosso arquivo de rotas, routes.rb, ele se encontra dentro da pasta config.Você poderá visualizá-lo e editá-lo através do ruby explorer:</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/rubyexplorer_routes-rb.jpg"><img class="aligncenter size-full wp-image-65" src="http://silvadeveloper.wordpress.com/files/2008/05/rubyexplorer_routes-rb.jpg" alt="" width="234" height="622" /></a></p>
<p align="justify">A ordem no mapeamento do projeto deve ser, primeiro o caminho, depois o nome do controlador e o nome da action.Nele devemos inserir os seguintes códigos:</p>
<div>
<pre><span style="color:#000000;">

  map.connect 'clientes/index',
              :controller =&#62; 'clientes',
              :action =&#62; 'index'

  map.connect 'clientes/consulta',
              :controller =&#62; 'clientes',
              :action =&#62; 'consulta'

</span></pre>
</div>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/routes-rb.jpg"><img class="aligncenter size-full wp-image-66" src="http://silvadeveloper.wordpress.com/files/2008/05/routes-rb.jpg" alt="" width="510" height="454" /></a></p>
<p align="left"><strong>Nono clique: Iniciando ou reiniciando o servidor</strong></p>
<p align="justify">Depois de criado as rotas e para que você possa visualizar e testar seu controlador e suas actions, você precisa iniciar ou reiniciar o servidor do seu projeto, para isso, clique na guia Servers e posteriormente no botão start server ou restart server, se caso o seu servidor já estiver sido iniciado anteriormente.Ao fazer isto, você deve lembrar-se do host e da porta em que o servidor foi iniciado.</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/servers.jpg"><img class="aligncenter size-full wp-image-67" src="http://silvadeveloper.wordpress.com/files/2008/05/servers.jpg" alt="" width="510" height="111" /></a></p>
<p align="left"><strong>Décimo clique: Testando o controlador e a action</strong></p>
<p align="justify">Finalmente agora podemos visualizar e testar o funcionamento do nosso controlador e da nossas actions, depois de iniciado ou reiniciado o servidor do seu projeto, lembrando-se do host e da porta, a estrutura padrão da <code>url</code> do seu projeto é http://host:porta/nomecontrolador/nomeaction, sabendo disso, abra seu navegador e digite nele o endereço de suas actions:</p>
<p align="left">*Para acessar a action Index: http://localhost:3000/clientes/index</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/testando_controller_action_index.jpg"><img class="aligncenter size-full wp-image-68" src="http://silvadeveloper.wordpress.com/files/2008/05/testando_controller_action_index.jpg" alt="" width="510" height="373" /></a></p>
<p align="left">*Para acessar a action consulta: http://localhost:3000/clientes/consulta</p>
<p><a href="http://silvadeveloper.files.wordpress.com/2008/05/testando_controller_action_consulta.jpg"><img class="aligncenter size-full wp-image-69" src="http://silvadeveloper.wordpress.com/files/2008/05/testando_controller_action_consulta.jpg" alt="" width="510" height="373" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[RadRails]]></title>
<link>http://hramos.wordpress.com/2008/04/21/radrails/</link>
<pubDate>Mon, 21 Apr 2008 16:00:33 +0000</pubDate>
<dc:creator>hollanderramos</dc:creator>
<guid>http://hramos.wordpress.com/2008/04/21/radrails/</guid>
<description><![CDATA[RadRails é uma ferramenta IDE (Integrated Development Enviroment) com base em Eclipse que pode ser c]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://hramos.files.wordpress.com/2008/04/radrails1.jpg"><img class="alignleft size-medium wp-image-7" src="http://hramos.wordpress.com/files/2008/04/radrails1.jpg?w=300" alt="IDE Radrails" width="300" height="187" /></a></p>
<p>RadRails é uma ferramenta IDE (<em>Integrated Development Enviroment</em>) com base em Eclipse que pode ser customizada para o desenvolvimento de aplicações em Rails. É uma ferramenta complexa, mas que pode facilitar muito o aprendizado, principalmente se você já está familiarizado com o desenvolvimento por IDE.</p>
<p>A ferramenta pode ser baixada em <a href="http://www.radrails.org">www.radrails.org</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[RadRails goes 1.0]]></title>
<link>http://infostall.wordpress.com/2008/03/22/radrails-goes-10/</link>
<pubDate>Sat, 22 Mar 2008 12:27:56 +0000</pubDate>
<dc:creator>infostall</dc:creator>
<guid>http://infostall.wordpress.com/2008/03/22/radrails-goes-10/</guid>
<description><![CDATA[RadRails, part of the Aptana IDE, is now available in version 1.0. The popular Rails development too]]></description>
<content:encoded><![CDATA[RadRails, part of the Aptana IDE, is now available in version 1.0. The popular Rails development too]]></content:encoded>
</item>
<item>
<title><![CDATA[Getting Started With Ruby on Rails - Week 1]]></title>
<link>http://engtech.wordpress.com/2007/11/21/getting-started-ruby-on-rails-week-1/</link>
<pubDate>Wed, 21 Nov 2007 19:12:38 +0000</pubDate>
<dc:creator>engtech</dc:creator>
<guid>http://engtech.wordpress.com/2007/11/21/getting-started-ruby-on-rails-week-1/</guid>
<description><![CDATA[I&#8217;ve fallen for the hype and started using Ruby on Rails for building a database driven web ap]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p class="idt-header" style="text-align:center;"><img src="http://engtech.files.wordpress.com/2007/11/learning-ruby.jpg?w=500&#038;h=125" alt="Learning Ruby" height="125" width="500" /></p>
<p><iframe src='http://digg.com/api/diggthis.php?u=http%3A%2F%2Fdigg.com%2Fprogramming%2FGetting_Started_With_Ruby_on_Rails_Week_1' height='82' width='55' frameborder='0' scrolling='no' style='float: right; margin-left: 10px; margin-bottom: 5px; padding: 4px 0 2px 4px; background: #fff;'></iframe> I&#8217;ve fallen for the hype and started using Ruby on Rails for building a database driven web application. If you&#8217;ve never heard of Rails it is a web framework using the Ruby programming language. Ruby is an object-oriented interpreted language, that&#8217;s often compared favourably with <a href="http://en.wikipedia.org/wiki/Smalltalk">Smalltalk</a>. [1] What&#8217;s a framework? A framework provides a structure and a set of tools usually for solving a particular type of problem. A programming language solves <strong>general problems</strong> while a framework extends a programming language to better solve a <strong>specific problem</strong>.</p>
<p>Rails is a framework for building <a href="http://www.rubyonrails.org/applications">web applications</a>: stuff like <a href="http://typodev.fredericdevillamil.com/">blog software</a>, <a href="http://twitter.com/engtech">instant messaging</a>, <a href="http://www.tadalist.com/">to-do lists</a>, <a href="http://www.alistapart.com/">web magazines</a>, and <a href="http://www.penny-arcade.com/">your favorite web comic</a>. Word on the street is that ROR is a resource hog but the resource consumption is balanced out by how much more productive it is to develop with. It&#8217;s easier to <strong>buy more computers</strong> to host a web application than it is to <strong>hire more developers</strong>. Computers get more powerful over time; developers not so much.</p>
<p>I&#8217;ve been developing websites as a hobby off and on since 1994, but I only <a href="http://internetducttape.com/tools/wordpress/themes/">learned CSS in the past six months</a>. I&#8217;ve done some minor hacking of other people&#8217;s web apps that were written in ASP or Perl and they were always horrible messes of spaghetti code. I&#8217;m really looking forward to trying out a web app from scratch.</p>
<h2>Choose Your Path</h2>
<p>I run a Windows machine with a VMWare Linux box inside of it, so I can choose to do my Rails development under Windows or under Linux. If I use Windows then I can use <a href="http://instantrails.rubyforge.org/">InstantRails</a>, which is a one-click installer that gives you everything to need to start coding ASAP. But I much prefer developing under Linux because you can&#8217;t beat the power of having a strong command line. The <a href="http://www.codinghorror.com/blog/archives/000334.html">Windows command line console is a joke</a>, and requires a ton of 3rd party utilities for stuff that&#8217;s already there under Linux. [2]</p>
<p>The downside is that there is no one-click install for Linux. Well, <a href="http://www.fiveruns.com/products/rm/install">except for this one</a>, which I didn&#8217;t notice until now <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://wiki.rubyonrails.org/rails/pages/Installation">Installing ruby, gem and rails</a> is simple and I was able to do it under my user account using the standard <strong>&#8211;prefix=/home/engtech</strong> install options.</p>
<h2>Gotcha #1 &#8211; MySQL</h2>
<p>I already had MySQL installed on my Linux box but it was an extremely old version that blew up the second I tried to use Rails to talk to the database. You need at least MySQL 4 to use Rails because it uses ENGINE=InnoDB for its calls. Older versions of MySQL don&#8217;t have InnoDB turned on by default, and once you do turn it on <a href="http://www.ruby-forum.com/topic/51141">they only understand TYPE=InnoDB</a>.</p>
<blockquote>
<pre>Mysql::Error: You have an error in your SQL syntax near 'ENGINE=InnoDB'</pre>
</blockquote>
<p><strong>Tip:</strong> Get the <a href="http://dev.mysql.com/downloads/">latest and greatest version of MySQL</a> instead of whatever came with your Linux install. I needed the Server, Client, and Developer RPMs. MySQL was the part of the install process that required root access.</p>
<p><strong>Tip:</strong> If you use a password for your MySQL root account, make sure you change config/database.yml to use it.</p>
<h2>Gotcha #2 &#8211; Integrated Development Environment (IDE)</h2>
<p>Rails doesn&#8217;t come with a standard IDE, but instead gives you a wide option of choices. <a href="http://www.radrails.org/">Aptana RadRails</a>, based on Eclipse is a good choice. But I&#8217;ve already sold my soul to one editor for all my coding needs: <a href="http://www.gnu.org/software/emacs/">emacs</a>. Emacs is the &#8220;kitchen sink&#8221; IDE because it supports everything: you can find extensions for any programming language or task. The downside is that it has a learning curve like you wouldn&#8217;t believe.</p>
<p>There&#8217;s a <a href="http://wiki.rubyonrails.org/rails/pages/HowToUseEmacsWithRails">tutorial on how to add rails support to emacs</a>. It&#8217;s long and complicated. Using rails mode in emacs requires upgrading to emacs version 22 that broke a lot of my existing DotEmacs hacks. I eventually got it working, but in retrospect I might have been better off going with RadRails because I <strong>lost hours</strong> to this. I&#8217;m still finding emacs keystrokes that don&#8217;t do what I expected them to.</p>
<p>I&#8217;m unimpressed that there isn&#8217;t a quick reference print sheet for rails-mode, <a href="http://dima-exe.ru/rails-on-emacs">this is the best that I could find</a>. So far I&#8217;ve only been using the syntax highlighting and <strong>C-c C-c g K</strong> and <strong>C-c Up / C-c Down</strong> to navigate between files.</p>
<h2>Gotcha #3 &#8211; Development Server vs Production</h2>
<p>When I was running into MySQL installation problems, I toyed with using SQLite3 instead for a while. Needless to say, make sure your development database is using the same versions of everything as your development and test servers. It&#8217;ll save you lots of headaches.</p>
<h2>Initial Opinion</h2>
<p>People weren&#8217;t lying about how productive programming with Ruby on Rails is. In the same amount of time it took me to write this blog post I was able to get a simple web application with user authentication up and running with a web interface that is probably &#8220;good enough&#8221; for final release. Which is ridiculous, compared to my previous experience hacking apps together using ASP or Perl.</p>
<ul>
<li><strong>Directory structure -</strong> Clean, clear, and everything has it&#8217;s place.</li>
<li><strong>Naming conventions -</strong> One of the best things a framework can give is enforcing a standard way of naming things. It takes a while to learn it, but it becomes second nature that if a class is called X, the database table is called Y and the tests are called Z. If you leave it to themselves most developers create small inconsistencies in naming conventions that waste time &#8212; especially if more than one person is working on the code.</li>
<li><strong>Don&#8217;t Repeat Yourself -</strong> I really like the way Model/View/Controller separates the code and keeps it becoming a mess. Inheritance and helpers/partials are great for keeping you from duplicating code.</li>
<li><strong>Succinct -</strong> Wow, you really do get a lot done with very little code writing. They weren&#8217;t kidding when they said <a href="http://www.rubyonrails.org/screencasts">you could write blogging software in under 15 minutes</a>.</li>
<li><strong>HTML / CSS / XML</strong> &#8211; I really love that it doesn&#8217;t try to hide the HTML, CSS and XML under a lot of programming calls. There are helpers for doing common things, but you&#8217;re free to write your own web code.</li>
<li><strong>Development / Test / Production -</strong> In my limited experience with web apps, I&#8217;ve never worked on anything that had more than 20 users. Testing was all done manually, and the production server was the development server. It was a mess. Clean separation makes it much easier to work on code independently and only push it out to users once it has been rigorously tested.</li>
<li><strong>Migrations -</strong> We use to build our database tables using a PHPMyAdmin web interfaces. Needless to say, doing it through scripting where you can tear down, reassemble, and rebuild the database tables is much cleaner because everything is reproducible from scratch.</li>
<li><strong>Rake, rdoc, and test -</strong> One of the things I like most about Ruby is that it has all the fixings I expect from modern languages: the ability to automatically generate documentation off of the code and a built-in unit testing and build framework. I&#8217;m always amazed when I see a language that doesn&#8217;t natively support these facilities.</li>
<li><strong>Religion -</strong> The big downside to Ruby on Rails is that it feels a little bit like a religion sometimes.</li>
</ul>
<h2>Conclusion</h2>
<p>I should have tried Ruby on Rails a long time ago. I spent entirely too much time setting up my development environment compared to when I could have been developing a web application. I could have been up and running in<strong> less than an hour</strong> if I had:</p>
<ol>
<li>Used  <a href="http://instantrails.rubyforge.org/">InstantRails</a></li>
<li>Used <a href="http://www.radrails.org/">Aptana RadRails</a></li>
</ol>
<h3>Footnotes</h3>
<p>1 &#8211; Did you know that Smalltalk inspired the Macintosh GUI? Smallpark was yet another example of the magic that was going on at <a href="http://en.wikipedia.org/wiki/Xerox_Parc">XEROX PARC</a> in the 70s. These are the guys who invented the mouse, colour graphic, windows/icons for a GUI, WYSIWYG text editors, Ethernet (how you talk to other computers on a network), and laser printers. <a href="http://internetducttape.com/2007/05/10/book-review-programmers-at-work-by-susan-lammers/">Programmers at Work featured interviews with some of the people from PARC</a>.</p>
<p>2 &#8211; I&#8217;m always amazed that people can program without easy access to diff, find, grep, perl, etc. All of these things are available for Windows for free, but they never work quite the way I expect them to.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[RadRails 0.9.1]]></title>
<link>http://formatinternet.wordpress.com/2007/10/27/radrails-091/</link>
<pubDate>Sat, 27 Oct 2007 17:24:37 +0000</pubDate>
<dc:creator>javier ramirez</dc:creator>
<guid>http://formatinternet.wordpress.com/2007/10/27/radrails-091/</guid>
<description><![CDATA[Después de que la anterior beta de RadRails funcionase solamente para eclipse 3.2, finalmente hay di]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Después de que la anterior beta de <a href="http://www.radrails.org/">RadRails</a> funcionase solamente para eclipse 3.2, finalmente hay disponible una nueva beta, la 0.9.1, que puede correr en <a href="http://www.eclipse.org/europa/">Eclipse Europa </a> (he probado en 3.3 y todo funciona bien, aunque no sé si en la 3.4 se comportará igual).</p>
<p>La url para el update manager de eclipse es http://update.aptana.com/update/rails/beta/3.2</p>
<p>Si todavía no usas ningún IDE para tu desarrollo con Ruby o Rails, te recomiendo que le eches un vistazo. Aunque es cierto que Eclipse es algo pesado, en un ordenador moderno no debería tener mucho problema para ejecutarse de forma fluída. El conjunto de aplicaciones mínimo que ejecuto a la vez en mi máquina cuando desarrollo es un Eclipse 3.3 con RadRails, una o dos instancias de Mysql, FireFox, Thunderbird, Pidgin, Winamp, Notepad++, Console2, Kerio PF y AVG.  Además, es muy habitual que tenga de fondo Emule o Skype, algún documento de OpenOffice y un Internet Explorer para ir probando. Y por supuesto todo el resto de servicios normales que corren normalmente en un XP.</p>
<p>Con esa configuración y con 2 <s>megas</s> gigas de RAM en un portátil normal comprado en el MediaMarkt hace más de un año, no noto ningún problema cuando trabajo con RadRails. Muy de vez en cuando, en algún caso raro de autocompletado se me queda pensando medio minuto, pero no es lo normal. En mi máquina anterior, un portátil con 4 años de antigüedad y 1 <s>año</s> giga de RAM, RadRails era usable pero de vez en cuando me hacía esperar más de la cuenta.</p>
<p>Hay otros IDEs y seguro que todos tienen sus puntos fuertes y sus puntos débiles. De momento no he visto ninguno que tenga nada tan espectacular como para hacerme plantearme un cambio. Mis motivos para escoger Eclipse son principalmente que lo conozco desde hace años como IDE para desarrollo en Java y me siento cómodo con él, que tiene una cantidad desorbitante de plugins para casi cualquier cosa, que es open source y multiplataforma, y que es un entorno que soporta muy bien el desarrollo en prácticamente cualquier lenguaje de programación. Profesionalmente lo he usado para desarrollar/editar Java, JavaScript, ASP, HTML, CSS, PHP, C++, y Ruby.</p>
<p>Entre mis características favoritas de Eclipse con RadRails están la navegación entre diferentes clases con un click, la búsqueda de clases y recursos, la integración con subversion y con la base de datos, la depuración gráfica, la gestión de los servidores Rails, la refactorización de código y vistas, y la asistencia al programar Ruby, HTML, CSS, o JavaScript.</p>
<p>Aparte de eso hay muchos detalles que hacen el día a día del desarrollo mucho más cómodo que usar un editor plano y la línea de comandos, a la que cada día recurro menos.</p>
<p>Bueno, llegados a este punto y como acabo de entregar el cuarto capítulo de una serie de nueve, ya es prudente anunciar que desde hace unos meses ando metido en la creación de un libro sobre RadRails. </p>
<p>A raíz de una conversación en la lista rubyonrails-talk me surgió la oportunidad de escribirlo y a pesar de que inicialmente no estaba muy seguro de querer dedicar el tiempo libre que me queda a esa tarea, acabó pudiéndome la curiosidad. Si todo va bien, terminaré de escribirlo para principios de 2008.</p>
<p>El título bajo el que previsiblemente se publicará es &#8220;RoR Made Easy with Aptana Radrails&#8221; y la editorial que anda detrás de esto es <a href="http://www.packtpub.com/">Packt Publishing</a> </p>
<p>searchwords: RadRails, Aptana, Eclipse, PacktPublishing, javier ramirez, book</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[RadRails 0.9.1]]></title>
<link>http://controlz.wordpress.com/2007/10/27/radrails-091/</link>
<pubDate>Sat, 27 Oct 2007 17:24:37 +0000</pubDate>
<dc:creator>javier ramirez</dc:creator>
<guid>http://controlz.wordpress.com/2007/10/27/radrails-091/</guid>
<description><![CDATA[After a previous beta of RadRails working only under eclipse 3.2, there is finally a new version,0.9]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>After a previous beta of <a href="http://www.radrails.org/">RadRails</a> working only under eclipse 3.2, there is finally a new version,0.9.1, working in <a href="http://www.eclipse.org/europa/">Eclipse Europa </a> (In 3.3 everything seems fine, I still didn&#8217;t have the time for trying on 3.4).</p>
<p>The url for Eclipse&#8217;s update manager is http://update.aptana.com/update/rails/beta/3.2</p>
<p>If you are still not using any IDE for your Ruby on Rails development, I would recommend to take a look at RadRails. Even if Eclipse is a bit heavy, in a modern computer that shouldn&#8217;t be a problem. My typical set of running applications when developing is Eclipse 3.3 with RadRails, one or two Mysql instances, FireFox, Thunderbird, Pidgin, Winamp, Notepad++, Console2, Kerio PF and AVG. Very often I have Skype, Emule and OpenOffice started too and even some IE for UI testing purposes. And of course all the ordinary services windows XP needs.</p>
<p>All of the above runs in a vanilla laptop with 2 Gigas of RAM bought over a year ago. Well, I can say everything works smoothly. My previous laptop was fairly old (over 4 years) and had &#8220;only&#8221; one giga. In that box sometimes I could feel Eclipse/RadRails were heavier than I would like. But not anymore.</p>
<p>Of course there are other IDEs and I&#8217;m sure they have their own sweet spots, but so far I haven&#8217;t seem anything to make me think of changing. I use Eclipse because I&#8217;ve been working with it for Java development since years and I feel pretty comfortable, because it has an overwhelming amount of plugins for almost anything, because it&#8217;s Open Source and multiplatform, and because it supports development in many programming languages. I have used it professionally for writing Java, JavaScript, ASP, HTML, CSS, PHP, C++ and Ruby.</p>
<p>Some of my favorite features of Eclipse/RadRails are navigating between classes with a single click, searching for classes or resources comfortably, database and subversion integration, graphical debugging, Rails servers management, code refactoring and assistance when writing Ruby, HTML, CSS or JavaScript.</p>
<p>Apart of that, there are plenty of details that make my every day much easier than with a plain text editor and the command line, which I use less every day (and surprisingly not missing it&#8230; much)</p>
<p>Since we are here already and since I just delivered the fourth out of nine chapters, I think I can already announce I&#8217;ve been writing a book about RadRails during the last months.</p>
<p>Starting with a conversation at the rubyonrails-talk list I got the opportunity to write it and even if at the beginning I hesitated a bit because it would take much of my free time, I finally gave in to my curiosity about the process of writing a technical book. If anything goes as by the schedule, I should be finishing it by early 2008.</p>
<p>The likely title is &#8220;RoR Made Easy with Aptana Radrails&#8221; and the publishing house behind it is <a href="http://www.packtpub.com/">Packt Publishing</a></p>
<p>searchwords: RadRails, Aptana, Eclipse, PacktPublishing, javier ramirez, book</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Rake-Task der Action eines Controllers aufruft und ActiveRecord-basierte Sessions]]></title>
<link>http://gleisarbeiter.wordpress.com/2007/06/26/rake-task-der-action-eines-controllers-aufruft-und-activerecord-basierte-sessions/</link>
<pubDate>Tue, 26 Jun 2007 14:31:39 +0000</pubDate>
<dc:creator>gleisarbeiter</dc:creator>
<guid>http://gleisarbeiter.wordpress.com/2007/06/26/rake-task-der-action-eines-controllers-aufruft-und-activerecord-basierte-sessions/</guid>
<description><![CDATA[Heute hatte ich ein Problem als ich auf ActiveRecord-basierte Sessions umgestiegen bin. Danach funkt]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Heute hatte ich ein Problem als ich auf ActiveRecord-basierte Sessions umgestiegen bin. Danach funktionierten rake db:migrate und sämtliche anderen Rake-tasks nicht mehr, es kam immer die Fehlermeldung:</p>
<p>rake aborted<br />
uninitialized constant CGI::Sessions::ActiveRecordStore &#8230; usw</p>
<p>Den Rake-Task mit dem Action aufruf habe ich von meinem Kollegen Mr. Matt <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  <a href="http://matthall.wordpress.com/2006/12/06/how-to-execute-a-rails-controller-action-via-cron/" title="Mr. Matt" target="_blank">http://matthall.wordpress.com/2006/12/06/how-to-execute-a-rails-controller-action-via-cron/</a></p>
<p>Um das Problem zu lösen müssen, die beiden Zeilen</p>
<p>require(&#8216;action_controller&#8217;) und<br />
require(&#8216;action_controller/integration&#8217;)</p>
<p>in die environment.rb geschrieben werden. Danach lief alles wieder, puh, hat mich 2 Stunden gekostet dieses Problem.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Der Gleisarbeiter ist jetzt Angestellter]]></title>
<link>http://gleisarbeiter.wordpress.com/2007/06/16/der-gleisarbeiter-ist-jetzt-angestellter/</link>
<pubDate>Sat, 16 Jun 2007 09:51:12 +0000</pubDate>
<dc:creator>gleisarbeiter</dc:creator>
<guid>http://gleisarbeiter.wordpress.com/2007/06/16/der-gleisarbeiter-ist-jetzt-angestellter/</guid>
<description><![CDATA[Ab dem 1. Juli werde ich bei der Firma Indiginox GmbH als Gleisarbeiter mit RubyOnRails weiterarbeit]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;"><img src="http://gleisarbeiter.wordpress.com/files/2007/06/logo_indiginox.png" alt="logo_indiginox.png" /></p>
<p>Ab dem 1. Juli werde ich bei der Firma <a href="http://www.indiginox.com">Indiginox GmbH</a> als Gleisarbeiter mit RubyOnRails weiterarbeiten.</p>
<p>Die Firma <a href="http://www.indiginox.com">Indiginox</a> ist ein Beratungs- und Dienstleistungsunternehmen für OpenSource &#8211; Softwarelösungen. Sie bietet Ihren Kunden Unterstützung z.B. bei der Beurteilung von OpenSource und Web2.0, sowie bei der Projektumsetzung auf Basis dieser Technologien.</p>
<p>In letzter Zeit kristallisiert sich besonders RubyOnRails als Framework für anspruchsvolle Webapplikationen heraus, und so kam es, dass die <a href="http://www.indiginox.com">Indiginox GmbH</a> eine Stellenanzeige für einen RoR-Softwaredeveloper aufsetzte, auf die ich mich bewarb. Unter Tausenden, wenn nicht sogar Zehntausenden von Bewerbern, wurde ich schließlich ausgewählt <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Wobei mein Vorteil mit Sicherheit war, dass ich so witzig bin! Und vielleicht noch ein kleines bischen, dass ich bereits mit der <a href="http://www.indiginox.com">Indiginox GmbH</a> als Freelancer zusammen gearbeitet habe.</p>
<p>Anspruchsvolle und interessante Projekte, über die ich zu gegebener Zeit berichten werde, sind schon in Aussicht und die Zusammenarbeit mit Ashley und Matthew läuft gut und wir haben immer viel Spaß <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Mal schauen wie es weitergeht mit mir als Gleisarbeiter.</p>
<p>Ciao! Und alles Gute an euch da draussen!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[Chicche] Aptana + RoR...dalla teoria alla pratica]]></title>
<link>http://pollosky.wordpress.com/2007/06/13/chicche-aptana-ror-dalla-teoria-alla-pratica/</link>
<pubDate>Wed, 13 Jun 2007 21:47:12 +0000</pubDate>
<dc:creator>LukePet</dc:creator>
<guid>http://pollosky.wordpress.com/2007/06/13/chicche-aptana-ror-dalla-teoria-alla-pratica/</guid>
<description><![CDATA[Sto per concludere la lettura del libro &#8220;Ruby per applicazioni web&#8220;, terminando così la ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sto per concludere la lettura del libro &#8220;<em>Ruby per applicazioni web</em>&#8220;, terminando così la mia prima infarinatura sul mondo <em>Ruby</em>&#8230;è dunque arrivato il momento di esercitarsi un pò con la pratica.</p>
<p>Visto che sono piuttosto affezionato alla piattaforma di sviluppo <em>Eclipse</em> (sopratutto perchè è quella che conosco meglio) credo proprio che per cimentarmi con <strong>Ruby</strong> e con il framework <strong>Rails</strong> utilizzerò <strong>Aptana</strong> (definita proprio su base Eclipse).</p>
<p>Di <em>Aptana</em> ne avevo parlato qualche post fa, ma ora approfondisco un pò meglio&#8230;.Che cos&#8217;è effettivamente Aptana? Come si distingue da Eclipse?</p>
<p>Ecco una risposta concisa e sintetica:</p>
<p align="left">&#8220;<em>È da poco stato rilasciato <a href="http://www.aptana.com/">Aptana</a>, l&#8217;editor open source per <acronym title="HyperText Markup Language">HTML</acronym>, <acronym title="Cascading Style Sheets">CSS</acronym> e in particolare Javascript. Il programma è realizzato in Java, ed è quindi disponibile per tutte le principali piattaforme: Windows, Mac e Linux. Come editor Javascript presenta numerose caratteristiche interessanti: possiede infatti <a href="http://www.aptana.com/docs/index.php/Using_other_libraries_with_Aptana">molte librerie incorporate</a>, tra cui <a href="http://dojotoolkit.org/">Dojo</a>, <a href="http://prototype.conio.net/">Prototype</a>, <a href="http://script.aculo.us/">Scriptaculous</a>, con la possibilità di crearne e aggiungere le proprie; dispone inoltre di una reference per il <acronym title="Document Object Model">DOM</acronym>, e  in generale si tratta di un editor con tutti i crismi. Presenti diversi tutorial sul <a href="http://www.aptana.com/blog/">blog del sito</a>, e anche tutorial video (screencast) su <a href="http://www.aptana.tv/">aptana.tv</a>. Senza dubbio da provare</em>&#8220;. (da <a href="http://blog.html.it" target="_blank">http://blog.html.it</a>)</p>
<p align="left">Se volete dare una sbirciata per farvi un&#8217;idea vi consiglio di andare sul link <em>aptana.tv</em>, che offre diversi video tutorials piuttosto interessanti che vi consentono di comprendere al meglio le caratteristiche dell&#8217;<em>IDE</em>.</p>
<p align="left">Nelle precedenti righe non si è parlato della possibilità di integrare in <strong>Aptana</strong> l&#8217;ambiente di sviluppo per <strong><em>Ruby On Rails</em></strong> ma se andate sul sito <a href="http://www.aptana.com/" target="_blank">http://www.aptana.com/</a> vedrete che è possibile scaricare &#8220;<em>Aptana Radrails</em>&#8221; (Aptana IDE + Framework Rails) ed in pochi passi avrete la vostra piattaforma di sviluppo <em>RoR</em>.</p>
<p align="left">Infine, per un primo approccio con il software, vi consiglio di seguire questo tutorial: <a href="http://www.aptana.com/docs/index.php/Getting_started_rolling_with_Ruby_on_Rails_in_RadRails" target="_blank">Getting_started_rolling_with_Ruby_on_Rails_in_RadRails</a></p>
<p align="left">Abbiamo a questo punto piantato i primi pilastri per future costruzioni <em>Web 2.0</em> tutte da scoprire&#8230;a presto per nuovi aggiornamenti sull&#8217;universo <em>RoR!</em></p>
<p align="left">&#160;</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
