<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ditoinfo in english &#187; rails</title>
	<atom:link href="http://danteregis.com/category/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://danteregis.com</link>
	<description>talking about programming and computer stuff</description>
	<lastBuildDate>Tue, 09 Jun 2009 21:57:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Rails Functional Testing of mime types other than HTML (XML, JSON etc)</title>
		<link>http://danteregis.com/2008/12/rails-functional-testing-of-mime-types-other-than-html-xml-json-etc/</link>
		<comments>http://danteregis.com/2008/12/rails-functional-testing-of-mime-types-other-than-html-xml-json-etc/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 15:27:05 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/?p=92</guid>
		<description><![CDATA[I noticed something interesting these days. Even though most Rails websites boasts the benefits of Test Driven Development, most examples they give us don&#8217;t test the whole app functionality. 
How come? Well, REST was the word of the day, it is now deep inside our brains, right? But have you ever seen an example test of [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed something interesting these days. Even though most Rails websites boasts the benefits of Test Driven Development, most examples they give us don&#8217;t test the whole app functionality. </p>
<p>How come? Well, REST was the word of the day, it is now deep inside our brains, right? But have you ever seen an example test of the XML output of Rails? Surely not. Every guide, tutorial and example shows only how to test for the default output, which is HTML. </p>
<p>So what? That ought to be easy, right? Just add :format after the get, post, put or delete function and you will be fine, you must think. Well, I have been working on a project and had to test if the Atom Feed would work ok. I must say it was one of the most frustrating tests I have ever written. </p>
<p>Turns out that, even though you can do something like this:</p>
<pre class="brush: ruby">

formatted_posts_url(:format =&gt; :atom)
</pre>
<p>you CAN&#8217;T do that on testes:</p>
<pre class="brush: ruby">
get :index, :format =&gt; :atom
</pre>
<p> </p>
<p>You know why? Because, even though you CAN use symbols (:atom) on your code, you CAN&#8217;T use on tests FOR THE FORMAT. Let&#8217;s rephrase it: You can use symbols on tests when specifying the action, the parameters and everything else BUT NOT THE FORMAT of the request. So the code above will give you a mysterious HTTP 406 Error Code.</p>
<p>So, to prevent you from loosing a full day where you felt productive, like I did, the following code will work:</p>
<pre class="brush: ruby">
get :index, :format =&gt; &quot;atom&quot;
</pre>
<p>Best!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/12/rails-functional-testing-of-mime-types-other-than-html-xml-json-etc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Factory Girl and has_many / has_many :through associations</title>
		<link>http://danteregis.com/2008/11/factory-girl-and-has_many-has_many-through-associations/</link>
		<comments>http://danteregis.com/2008/11/factory-girl-and-has_many-has_many-through-associations/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 18:25:14 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/?p=85</guid>
		<description><![CDATA[If you want to create has_many and has_many through associations in factory_girl as I once did, you will need to put it inside square brackets:

Factory.define :user do &#124;user&#124;
  user.name &#34;My Name&#34;
  user.groups {&#124;groups&#124; [groups.association(:group)]}
end

This will ensure that user.groups is not overriden by a single Group object, but by an array with a Group inside.
]]></description>
			<content:encoded><![CDATA[<p>If you want to create has_many and has_many through associations in factory_girl as I once did, you will need to put it inside square brackets:</p>
<pre class="brush: ruby">
Factory.define :user do |user|
  user.name &quot;My Name&quot;
  user.groups {|groups| [groups.association(:group)]}
end
</pre>
<p>This will ensure that user.groups is not overriden by a single Group object, but by an array with a Group inside.</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2008/11/factory-girl-and-has_many-has_many-through-associations/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>autotest keeps running continuosly even without changing any files?</title>
		<link>http://danteregis.com/2007/12/autotest-keeps-running-continuosly-even-without-changing-any-files/</link>
		<comments>http://danteregis.com/2007/12/autotest-keeps-running-continuosly-even-without-changing-any-files/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 21:34:26 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/12/21/autotest-keeps-running-continuosly-even-without-changing-any-files/</guid>
		<description><![CDATA[So, your autotest also keeps running over and over when your Rails code fails? Well, I had this issue here and found that the problem was that, when the tests were run, Ferret updated the index. So, autotest believed that files where changed when they weren&#8217;t. Googling a bit I found this code that you [...]]]></description>
			<content:encoded><![CDATA[<p>So, your autotest also keeps running over and over when your Rails code fails? Well, I had this issue here and found that the problem was that, when the tests were run, Ferret updated the index. So, autotest believed that files where changed when they weren&#8217;t. Googling a bit I found this code that you should put on your ~/.autotest :</p>
<pre class="brush: ruby">
Autotest.add_hook :run do |at|
  at.exceptions = /^(?:\.\/)?(?:db|index|doc|log|public|script|tmp|filestore|vendor\/rails)|\.svn|(?:.*_flymake\.rb$)/
end
</pre>
<p>If it does not work, try running autotest with &#8220;-v&#8221; option, to see which files have changed on autotest concern, and include the relevant directory on the list above.</p>
<p>Hope this helps you! <img src='http://danteregis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/12/autotest-keeps-running-continuosly-even-without-changing-any-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Formatting dates nicely in Rails</title>
		<link>http://danteregis.com/2007/08/formatting-dates-nicely-in-rails/</link>
		<comments>http://danteregis.com/2007/08/formatting-dates-nicely-in-rails/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 02:19:10 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/08/16/formatting-dates-nicely-in-rails/</guid>
		<description><![CDATA[I always thought those &#8220;today&#8221;, &#8220;yesterday&#8221;, &#8220;4 days ago&#8221; date references on some websites way cool. On a small system I&#8217;m working on I did some code to do something alike, though in portuguese. But if you want it in english, there&#8217;s a small plugin called relative_time_helpers that you can install by typing:
 script/plugin install [...]]]></description>
			<content:encoded><![CDATA[<p>I always thought those &#8220;today&#8221;, &#8220;yesterday&#8221;, &#8220;4 days ago&#8221; date references on some websites way cool. On a small system I&#8217;m working on I did some code to do something alike, though in portuguese. But if you want it in english, there&#8217;s a small plugin called relative_time_helpers that you can install by typing:</p>
<pre> script/plugin install http://ar-code.svn.engineyard.com/plugins/relative_time_helpers/</pre>
<p>Then, you can do things like</p>
<pre>&lt;%= relative_time(Time.now) %&gt;
# today

&lt;%= relative_time(1.day.ago) %&gt;&lt;
# yesterday

&lt;%= relative_time(1.day.from_now) %&gt;
# tomorrow

&lt;%= relative_time_span([Time.now, 5.days.from_now]) %&gt;# May 17th - 22nd</pre>
<p>This tip was taken from <a href="http://activereload.net/2007/5/17/displaying-nice-relative-dates">Active Reload Blog</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/08/formatting-dates-nicely-in-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ruby on rails reference cheat sheet</title>
		<link>http://danteregis.com/2007/03/ruby-on-rails-reference-cheat-sheet/</link>
		<comments>http://danteregis.com/2007/03/ruby-on-rails-reference-cheat-sheet/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 20:00:53 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/03/07/ruby-on-rails-reference-cheat-sheet/</guid>
		<description><![CDATA[This website has an excelent Ruby on Rails resource for those in need (like most of us). It features lot&#8217;s of command line options, code snippets, and stuff like that. Very handfull! This is the link to the blog entry, and this one points to the text itself. Take a look!
]]></description>
			<content:encoded><![CDATA[<p>This website has an excelent Ruby on Rails resource for those in need (like most of us). It features lot&#8217;s of command line options, code snippets, and stuff like that. Very handfull! This is the <a href="http://blog.invisible.ch/2006/05/01/ruby-on-rails-reference/" target="_blank">link to the blog entry</a>, and <a href="http://blog.invisible.ch/files/rails-reference-1.1.html" target="_blank">this one points to the text itself</a>. Take a look!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/03/ruby-on-rails-reference-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ruby on rails ide comparison</title>
		<link>http://danteregis.com/2007/03/ruby-on-rails-ide-comparison/</link>
		<comments>http://danteregis.com/2007/03/ruby-on-rails-ide-comparison/#comments</comments>
		<pubDate>Wed, 07 Mar 2007 19:37:22 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[netbeans]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/03/07/ruby-on-rails-ide-comparison/</guid>
		<description><![CDATA[Sébastien from The Nameless One, did a very impressive job comparing three of the main Ruby on Rails IDE avaiable. His extensive post includes a feature chart with each IDE&#8217;s most important features side-by-side, using colors to show how good or bad implemented that feature is on a particular IDE. It&#8217;s more than worth looking, [...]]]></description>
			<content:encoded><![CDATA[<p>Sébastien from <a href="http://tnlessone.wordpress.com/" target="_blank">The Nameless One</a>, did a very impressive job comparing three of the main Ruby on Rails IDE avaiable. His extensive post includes a feature chart with each IDE&#8217;s most important features side-by-side, using colors to show how good or bad implemented that feature is on a particular IDE. It&#8217;s more than worth looking, and the <a href="http://tnlessone.wordpress.com/2007/02/28/ruby-rails-ide-comparison-idea-netbeans-radrails/" target="_blank">link is here</a>.</p>
<p>BTW, I&#8217;ll stay with Netbeans Development Edition. Even being unstable (I believe it&#8217;s not even Alpha yet) it&#8217;s quite usable, and I&#8217;m doing most of my work on it. Just missing a few test features. But that should come on the next milestones!</p>
<p>Thanks Sébastien, for the great job!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/03/ruby-on-rails-ide-comparison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to install ruby on rails and lighttpd on ubuntu</title>
		<link>http://danteregis.com/2007/03/how-to-install-ruby-on-rails-and-lighttpd-on-ubuntu/</link>
		<comments>http://danteregis.com/2007/03/how-to-install-ruby-on-rails-and-lighttpd-on-ubuntu/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 05:39:46 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/03/06/how-to-install-ruby-on-rails-and-lighttpd-on-ubuntu/</guid>
		<description><![CDATA[Hey folks. It&#8217;s interesting how difficult it was for me to get Rails up and running on Lighttpd. I&#8217;ve tried lot&#8217;s and lot&#8217;s of tutorials, but none of them seemed fit to me. I came up with this solution, wich is actually a merge of lot&#8217;s tips. Feel free to contribute, and I hope that [...]]]></description>
			<content:encoded><![CDATA[<p>Hey folks. It&#8217;s interesting how difficult it was for me to get Rails up and running on Lighttpd. I&#8217;ve tried lot&#8217;s and lot&#8217;s of tutorials, but none of them seemed fit to me. I came up with this solution, wich is actually a merge of lot&#8217;s tips. Feel free to contribute, and I hope that this helps you out.</p>
<p>1) First, include UNIVERSE on your sources.list. It is located on /etc/apt/sources.list. If you are unsure, take a look at <a href="http://www.ubuntu-nl.org/source-o-matic/" target="_blank">this web-site</a>. It may help you out. Remember to <strong>sudo</strong>, or be root to do everything<span id="more-20"></span></p>
<p>2) Then update your package list and upgrade your machine.<br />
<code><br />
apt-get update<br />
apt-get upgrade<br />
</code></p>
<p>3) Install the build-essential package. It has the most-used tools to compile programs from source.<br />
<code><br />
apt-get install build-essential<br />
</code></p>
<p>4) Install ruby and everything it needs.<br />
<code><br />
apt-get install ruby1.8 ruby1.8-dev irb1.8 rdoc1.8 libyaml-ruby libzlib-ruby libopenssl-ruby<br />
</code></p>
<p>5) Create simbolic links for ruby. The installation made before create binaries with unfriendly names (e.g. ruby1.8). So, we create links to be able to use &#8220;ruby&#8221; and &#8220;irb&#8221; from the console:<br />
<code><br />
ln -s /usr/bin/ruby1.8 /usr/bin/ruby<br />
ln -s /usr/bin/irb1.8 /usr/bin/irb<br />
</code></p>
<p>6) Download and install RubyGems<br />
<code><br />
cd ~<br />
mkdir ruby_install/ruby_gems<br />
cd ruby_install/ruby_gems<br />
wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz<br />
tar xvzf rubygems-0.9.0.tgz<br />
cd rubygems-0.9.0<br />
ruby setup.rb<br />
</code></p>
<p>7) Install Rails with RubyGems<br />
<code><br />
gem install rails --include-dependencies<br />
</code><br />
PS: Sometimes, on machines behind network proxies, the above command will not work. On this case, you can manually install each of Rails components. They can be downloaded from <a href="http://www.rubyforge.org">rubyforge.org</a> and must be installed on this order:</p>
<ul>
<li>Rake</li>
<li>ActiveSupport</li>
<li>ActiveRecord</li>
<li>ActionPack</li>
<li>ActionMailer</li>
<li>ActionWebService</li>
<li>Rails</li>
</ul>
<p>8 ) Install RedCloth if you plan on using textilize.<br />
<code><br />
gem install redcloth<br />
</code></p>
<p>9) Now, it&#8217;s time to install FastCGI<br />
<code><br />
apt-get install libfcgi libfcgi-dev libfcgi-ruby1.8<br />
gem install fcgi<br />
</code></p>
<p>10) Install MySQL client libraries (if you are using MySQL)<br />
<code><br />
apt-get install libmysqlclient15-dev libmysql-ruby1.8<br />
gem install mysql<br />
</code><br />
PS: When gem install asks you whitch version of mysql to install, just choose the greater version number for your system.</p>
<p>11) Install lighttdp<br />
<code><br />
apt-get install lighttpd<br />
</code></p>
<p>12) Save a backup copy of your /etc/lighttpd/lighttpd.conf</p>
<p>13) Use this lighttpd.conf. Remember to change <strong>var.railsdir</strong><br />
server.modules           = ( &#8220;mod_rewrite&#8221;, &#8220;mod_accesslog&#8221;, &#8220;mod_fastcgi&#8221;, &#8220;mod_compress&#8221;, &#8220;mod_expire&#8221; )</p>
<p>server.pid-file = “/var/run/lighttpd.pid”</p>
<p>var.railsdir = &#8220;/home/web/test&#8221;</p>
<p>server.error-handler-404 = &#8220;/dispatch.fcgi&#8221;<br />
server.document-root     = var.railsdir + &#8220;/public/&#8221;</p>
<p>server.errorlog          = var.railsdir + &#8220;/log/lighttpd.error.log&#8221;<br />
accesslog.filename       = var.railsdir + &#8220;/log/lighttpd.access.log&#8221;</p>
<p>url.rewrite              = ( &#8220;^/$&#8221; =&gt; &#8220;index.html&#8221;, &#8220;^([^.]+)$&#8221; =&gt; &#8220;$1.html&#8221; )</p>
<p>compress.filetype        = ( &#8220;text/plain&#8221;, &#8220;text/html&#8221;, &#8220;text/css&#8221;, &#8220;text/javascript&#8221; )<br />
compress.cache-dir       = var.railsdir + &#8220;/tmp/cache&#8221;</p>
<p>expire.url               = ( &#8220;/favicon.ico&#8221;  =&gt; &#8220;access 3 days&#8221;,<br />
&#8220;/images/&#8221;      =&gt; &#8220;access 3 days&#8221;,<br />
&#8220;/stylesheets/&#8221; =&gt; &#8220;access 3 days&#8221;,<br />
&#8220;/javascripts/&#8221; =&gt; &#8220;access 3 days&#8221; )</p>
<p># Change *-procs to 2 if you need to use Upload Progress or other tasks that<br />
# *need* to execute a second request while the first is still pending.<br />
fastcgi.server      = ( &#8220;.fcgi&#8221; =&gt; ( &#8220;localhost&#8221; =&gt; (<br />
&#8220;min-procs&#8221;       =&gt; 4,<br />
&#8220;max-procs&#8221;       =&gt; 4,<br />
&#8220;socket&#8221;          =&gt; var.railsdir + &#8220;/tmp/sockets/fcgi.socket&#8221;,<br />
&#8220;bin-path&#8221;        =&gt; var.railsdir + &#8220;/public/dispatch.fcgi&#8221;,<br />
&#8220;bin-environment&#8221; =&gt; ( &#8220;RAILS_ENV&#8221; =&gt; &#8220;production&#8221; )<br />
) ) )</p>
<p>mimetype.assign = (<br />
&#8220;.css&#8221;        =&gt;  &#8220;text/css&#8221;,<br />
&#8220;.gif&#8221;        =&gt;  &#8220;image/gif&#8221;,<br />
&#8220;.htm&#8221;        =&gt;  &#8220;text/html&#8221;,<br />
&#8220;.html&#8221;       =&gt;  &#8220;text/html&#8221;,<br />
&#8220;.jpeg&#8221;       =&gt;  &#8220;image/jpeg&#8221;,<br />
&#8220;.jpg&#8221;        =&gt;  &#8220;image/jpeg&#8221;,<br />
&#8220;.js&#8221;         =&gt;  &#8220;text/javascript&#8221;,<br />
&#8220;.png&#8221;        =&gt;  &#8220;image/png&#8221;,<br />
&#8220;.swf&#8221;        =&gt;  &#8220;application/x-shockwave-flash&#8221;,<br />
&#8220;.txt&#8221;        =&gt;  &#8220;text/plain&#8221;<br />
)</p>
<p># Making sure file uploads above 64k always work when using IE or Safari<br />
# For more information, see http://trac.lighttpd.net/trac/ticket/360<br />
$HTTP["useragent"] =~ &#8220;^(.*MSIE.*)|(.*AppleWebKit.*)$&#8221; {<br />
server.max-keep-alive-requests = 0<br />
}</p>
<p>14) Set adequate permissions on your application&#8217;s folders:<br />
<code><br />
chmod -R 775 log/<br />
chmod -R 775 public/<br />
chmod -R 775 tmp/<br />
</code></p>
<p>15) You&#8217;re done.</p>
<p><strike>There&#8217;s a small catch on this stuff: You won&#8217;t be able to /etc/init.d/services/lighttpd stop or restart. For some reason, lighttpd loose it&#8217;s connection with init.d, and you can only stop it sending TERM signals from the command line:<br />
</strike> <code><strike><br />
$ sudo ps -A | grep lighttpd<br />
1234   lighttpd<br />
$ sudo kill -9 1234</strike><br />
</code></p>
<p>Using  server.pid-file = “/var/run/lighttpd.pid” will take care of the job! Config example updated. Thanks, raul.<br />
That&#8217;s it. I hope it helped you.<br />
Best</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/03/how-to-install-ruby-on-rails-and-lighttpd-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>netbeans and UTF8 encoding</title>
		<link>http://danteregis.com/2007/02/netbeans-and-utf8-encoding-2/</link>
		<comments>http://danteregis.com/2007/02/netbeans-and-utf8-encoding-2/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 07:18:06 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[netbeans]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/02/26/netbeans-and-utf8-encoding-2/</guid>
		<description><![CDATA[[digg=http://www.digg.com/programming/Netbeans_and_UTF8_encoding]
When I started using Netbeans as my Ruby on Rails IDE, I noticed that, at least on my build, it did not use UTF 8 on files by default. If you speak english that usually is not a problem, but for me, who write software in portuguese, it is very important.
But, Mr. Google gave me [...]]]></description>
			<content:encoded><![CDATA[<p>[digg=http://www.digg.com/programming/Netbeans_and_UTF8_encoding]<br />
When I started using Netbeans as my Ruby on Rails IDE, I noticed that, at least on my build, it did not use UTF 8 on files by default. If you speak english that usually is not a problem, but for me, who write software in portuguese, it is very important.<br />
But, Mr. Google gave me a tip, and I&#8217;ll place it here so you don&#8217;t have to bother him again with this same question.<br />
Theres a file, inside the /etc folder of netbeans directory, called netbeans.conf. I don&#8217;t know if it stays elsewhere in Linux, I&#8217;ll only know later today, but anyway, you should place this option inside the quotes of <strong>netbeans_default_options</strong>:<br />
<em>-J-Dfile.encoding=UTF-8</em><br />
That&#8217;s it. Worked perfectly for me.<br />
Best</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/02/netbeans-and-utf8-encoding-2/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>netbeans and ruby on rails</title>
		<link>http://danteregis.com/2007/02/netbeans-and-ruby-on-rails/</link>
		<comments>http://danteregis.com/2007/02/netbeans-and-ruby-on-rails/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 04:58:04 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/02/26/netbeans-and-ruby-on-rails/</guid>
		<description><![CDATA[Tor Norbye is doing a great job integrating a Ruby module on the development version of Netbeans. Since I&#8217;m still on the look for my definitive Ruby IDE, I decided to take a look at it, and all I can say is that I liked it very, very much. Never had any experience with Netbeans [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.sun.com/tor/entry/ruby_screenshot_of_the_week3" target="_blank">Tor Norbye</a> is doing a great job integrating a Ruby module on the development version of Netbeans. Since I&#8217;m still on the look for my definitive Ruby IDE, I decided to take a look at it, and all I can say is that I liked it very, very much. Never had any experience with Netbeans before (I don&#8217;t speak Java), but it&#8217;s a great software. The Ruby integration is, as far as I can tell, quite good, only a few bugs showed up on 3 days of work.</p>
<p>You can download it from the Netbeans CVS, the standard module. This post from Tor shows how to get and compile it. It took me long 36 hours to checkout the whole source. Don&#8217;t know if it was my Internet connection (yes, Telemar, it&#8217;s your fault, not mine, DSL provider from hell), or a busy server, but it was long, and I had to restart the process lot&#8217;s of times (around 7 times. But you don&#8217;t loose your job, it continues from where it stopped).</p>
<p>Give it a try! And, Tor, thank you very much for the great job!</p>
<p>Best!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/02/netbeans-and-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ruby on rails and javascript modal dialogs</title>
		<link>http://danteregis.com/2007/02/ruby-on-rails-and-javascript-modal-dialogs/</link>
		<comments>http://danteregis.com/2007/02/ruby-on-rails-and-javascript-modal-dialogs/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 15:49:55 +0000</pubDate>
		<dc:creator>Dante Regis</dc:creator>
				<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://ditoinfo.wordpress.com/2007/02/24/ruby-on-rails-and-javascript-modal-dialogs/</guid>
		<description><![CDATA[Javascript offers you a way to build modal dialogs on web pages. You must have seen it on one of these Web 2.0 sites: you click somewhere, a small box appears from nowhere and prevents you from clicking anywhere else, but on itself. It&#8217;s cool!
Rails is full of those one-liners to help our life. Mix [...]]]></description>
			<content:encoded><![CDATA[<p>Javascript offers you a way to build modal dialogs on web pages. You must have seen it on one of these Web 2.0 sites: you click somewhere, a small box appears from nowhere and prevents you from clicking anywhere else, but on itself. It&#8217;s cool!</p>
<p>Rails is full of those one-liners to help our life. Mix them together and you have a one-liner for these boxes. It&#8217;s a plugin, and it&#8217;s called <a href="http://www.craigambrose.com/projects/redbox" target="_blank">Redbox</a>. Take a look at it!</p>
]]></content:encoded>
			<wfw:commentRss>http://danteregis.com/2007/02/ruby-on-rails-and-javascript-modal-dialogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
