<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Ruby Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'Ruby' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 03 Jul 2009 20:45:54 -0700</pubDate>
    <lastBuildDate>Fri, 03 Jul 2009 20:45:54 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/ruby/393122/393122/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/393122/393122/this-post-has-been-deleted/</guid>
      <pubDate>Wed, 01 Jul 2009 10:41:58 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Ruby on Rails in Windows 2000</title>
      <link>http://www.programmersheaven.com/mb/ruby/391132/391132/ruby-on-rails-in-windows-2000/</link>
      <description>Hello Everyone,&lt;br /&gt;
&lt;br /&gt;
     I am new to using Ruby as our first project will opt to use it. I was trying to run Ruby using the InstantRails. But when I started to launch the application and tried to update the gem, some error occured.&lt;br /&gt;
&lt;br /&gt;
after i issued the command: gem update --system, the error below appeared.&lt;br /&gt;
&lt;br /&gt;
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)&lt;br /&gt;
    getaddrinfo: temporary failure in name resolution. (SocketError)&lt;br /&gt;
        getting size of &lt;a href="http://gems.rubyforge.org/Marshal.4.8"&gt;http://gems.rubyforge.org/Marshal.4.8&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
     Please, I need some help on how to overcome this one. &lt;br /&gt;
&lt;br /&gt;
Thanks a lot.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/391132/391132/ruby-on-rails-in-windows-2000/</guid>
      <pubDate>Mon, 18 May 2009 01:52:51 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>How to convert videos(ingcluding DRM protected) on Mac and transfer iP</title>
      <link>http://www.programmersheaven.com/mb/ruby/389983/389983/how-to-convert-videosingcluding-drm-protected-on-mac-and-transfer-ip/</link>
      <description>Nowadays, Apple Mac is more and more popular among our life. But there are few high quality compitible tools for it. Today I’d like share three useful software for all the Mac users to help convert videos(ingcluding DRM protected) and transfer iPod to Mac. &lt;br /&gt;
It includes three parts:&lt;br /&gt;
&lt;strong&gt;Part 1:&lt;/strong&gt;How to convert video files on Mac with &lt;a href="http://www.macsoftreviews.com/iskysoft-video-converter-mac.html"&gt;iskysoft Video Converter for Mac&lt;/a&gt;&lt;strong&gt;Part 2:&lt;/strong&gt;How to remove DRM protection from iTunes music WMA M4P M4A etc. on Mac with &lt;a href="http://www.mac-video-converter.com/applemacsoft-drm-converter.html"&gt;AppleMacSoft DRM Converter &lt;/a&gt;&lt;strong&gt;Part 3:&lt;/strong&gt;How to transfer iPod to Mac with &lt;a href="http://www.macsoftreviews.com/aiseesoft-ipod-to-mac-transfer.html"&gt;Aiseesoft iPod to Mac Transfer&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Part 1:&lt;/strong&gt;How to convert video files on Mac with &lt;strong&gt;iskysoft Video Converter for Mac&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Step 0:&lt;/strong&gt; Download and install &lt;strong&gt;iskysoft Video Converter for Mac&lt;/strong&gt;( &lt;a href="http://www.macsoftreviews.com/download/iskysoft/video-converter/isky-video-converter-intel.dmg"&gt;Intel Version&lt;/a&gt; or &lt;a href="http://www.macsoftreviews.com/download/iskysoft/video-converter/isky-video-converter-powerpc.dmg"&gt;Power PC Version&lt;/a&gt;）&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://www.macsoftreviews.com/images/ipod-to-mac/video-converter.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Step 1:&lt;/strong&gt; Add Video files&lt;br /&gt;
Click the "Add Files" button to add video files to the program by automatically selecting an appropriate encoder for the video files you want to convert. &lt;br /&gt;
This mac video converter supports batch conversion, so you can import several multimedia files at a time so that you can convert several videos or audios at one time.&lt;br /&gt;
&lt;strong&gt;Step 2: &lt;/strong&gt;Output Settings&lt;br /&gt;
You can use the default setting which works great, if you don’t want to use it, you can:&lt;br /&gt;
Choose the output format from the format drop list.&lt;br /&gt;
Choose the audio format (mp3, wav, ac3, ogg, ape) if you just want to extract audio from videos on Mac.&lt;br /&gt;
Choose the destinaton by click “Brouse” button on the right of  “output”&lt;br /&gt;
Choose the video and audio encoding settings by clicking the “Settings” button.&lt;br /&gt;
&lt;img src="http://www.macsoftreviews.com/images/ipod-to-mac/setting.jpg" /&gt; &lt;br /&gt;
&lt;strong&gt;Step 3: &lt;/strong&gt;Start Conversion &lt;br /&gt;
Click the “Convert” button to start conversion&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;More functions about this software&lt;/strong&gt;: During the conversion, you can use the functions of  &lt;strong&gt;“crop, trim, effect,merge into one file”&lt;/strong&gt;.You can also name your files in the &lt;strong&gt;“File name”&lt;/strong&gt; line. They are all very easy to use and work great.Just follow the instructions on it, you can edit your video as your will.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Part 2：&lt;/strong&gt;How to remove DRM protection from iTunes music WMA M4P M4A etc. on Mac with &lt;strong&gt;AppleMacSoft DRM Converter&lt;/strong&gt;&lt;br /&gt;
AppleMacSoft DRM Converter for Mac can remove DRM from iTunes, crack DRM protection, convert DRM M4P to MP3, M4A to MP3, WMA to MP3, iTunes to MP3, and more. It is the legal way to convert iTunes DRM protected files to unprotected music files. It is a DRM copy-protected audio and music converter designed for burning DRM protected music to a special virtual CD-RW drive where you can easily get unprotected MP3, AAC, Apple Lossless, AIFF, WAV files ready for use on any player. AppleMacSoft DRM Converter for Mac uses a CD-RW and iTunes itself to convert all of your DRM music files to standard format files (MP3, AAC, Apple Lossless, AIFF, WAV) that you can use with ipod player.&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://www.mac-video-converter.com/images/guide/isky-mac-video/applemacsoft.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Step1. &lt;/strong&gt; Drag AppleMacSoft DRM Converter for Mac from the Disk Image or CD to your Applications folder&lt;br /&gt;
&lt;strong&gt;Step2. &lt;/strong&gt; Open your Applications folder &lt;br /&gt;
&lt;strong&gt;Step3. &lt;/strong&gt;Double click AppleMacSoft DRM Converter for Mac &lt;br /&gt;
&lt;strong&gt;Step4.&lt;/strong&gt; If needed enter the word for Protected in your local language in AppleMacSoft DRM Converter for Mac in the field titled: &lt;strong&gt;Identify protected tracks by looking for this word in Kind &lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Step5.&lt;/strong&gt; If you want to convert a specific playlist instead of your entire library then pick the playlist from the pop up menu titled: &lt;strong&gt;In this playlist&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Step6.&lt;/strong&gt; Optionally, if you want to convert to a format other than MP3 (the default) then pick the format from the pop-up menu to the left of the Dump DRM button &lt;br /&gt;
&lt;strong&gt;Step7. &lt;/strong&gt;Click the Convert DRM button.&lt;br /&gt;
&lt;br /&gt;
Note: When you click the Convert DRM button, AppleMacSoft DRM Converter for Mac will ask you to insert a CDRW. AppleMacSoft DRM Converter for Mac will then find all the protected tracks and start burning them in groups of 10-20 to the CDRW and ripping them back to your selected, unprotected format. All your unprotected tracks will be placed in a new playlist called something like MP3 from AppleMacSoft DRM Converter for Mac (the MP3 will change if you picked another unprotected format) and your original tracks will be left untouched. Its going to take some time so you should have something else to do, not on your computer, and just check on AppleMacSoft DRM Converter for Mac now and then to make sure things are still happening.&lt;br /&gt;
  &lt;br /&gt;
&lt;strong&gt;Part 3:&lt;/strong&gt;How to transfer ipod to Mac with &lt;strong&gt;Aiseesoft iPod to Mac Transfer&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Step 0:&lt;/strong&gt; Download and install &lt;a href="http://www.macsoftreviews.com/download/aiseesoft/ipod-to-mac-transfer.dmg"&gt;Aiseesoft iPod to Mac Transfer&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;Step 1:&lt;/strong&gt; Plug your iPod to your Mac and run Aiseesoft iPod to Mac Transfer. It will find your iPod automatically. (Your iPod’s info will also be shown on the interface)&lt;br /&gt;
&lt;img src="http://www.macsoftreviews.com/images/ipod-to-mac/face.jpg" /&gt;&lt;br /&gt;
(Your iPod’s info will also be shown on the interface)&lt;br /&gt;
&lt;strong&gt;Step 2:&lt;/strong&gt;Just click Music and all of your music on your iPod will be listed, so you can pick up which songs you want to transfer. (Click “Video”/“Picture”, if you want to backup your videos and image.) &lt;br /&gt;
&lt;img src="http://www.macsoftreviews.com/images/ipod-to-mac/file.jpg" /&gt;&lt;br /&gt;
&lt;strong&gt;Step 3:&lt;/strong&gt; Click “iPod to Mac” and few seconds later you will get your iPod songs on your Mac&lt;br /&gt;
&lt;img src="http://www.macsoftreviews.com/images/ipod-to-mac/start.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;More functions&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;1. Find your file quickly&lt;/strong&gt;&lt;br /&gt;
The "Search" function can help you to search your files in the categories of Genre, Artist, Album for you to find your file as soon as possible.&lt;br /&gt;
&lt;strong&gt;2. Show the number of your files automatically&lt;/strong&gt;&lt;br /&gt;
Click video, audio and photo folder, the number of the files will be shown in the bottom of the screenshot.&lt;br /&gt;
&lt;strong&gt;3. Fastest transmission speed&lt;/strong&gt; &lt;br /&gt;
This transfer will be finished in a short while. &lt;br /&gt;
&lt;br /&gt;
Try now and you will get a wonderful experience!&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mac-video-converter.com"&gt;Mac Video Converter&lt;/a&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/389983/389983/how-to-convert-videosingcluding-drm-protected-on-mac-and-transfer-ip/</guid>
      <pubDate>Tue, 28 Apr 2009 01:52:18 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Alternate function for Sleep</title>
      <link>http://www.programmersheaven.com/mb/ruby/385734/385734/alternate-function-for-sleep/</link>
      <description>Hi there.  I'm looking for an alternate way to Sleep.  I want a pause function that acts the same in Batch Programming.  An example would be if you were to write pause in a notepad and save it as .bat and then open it it would show you this message "Press any key to continue." This is the type of function I'm looking for. Believe me, I've searched on google daily trying different search terms and I've also searched this site and many ruby websites.  Do you think you can help me out?&lt;br /&gt;
Thanks.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/385734/385734/alternate-function-for-sleep/</guid>
      <pubDate>Sun, 15 Feb 2009 14:48:53 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>server 500 error</title>
      <link>http://www.programmersheaven.com/mb/ruby/385367/385367/server-500-error/</link>
      <description>Hello, &lt;br /&gt;
I have problem that I will try to explain I am a web designer not a developer I will do my best,  I have run into some issues with this script I have a template of a system to sell hosting alongside my web design, I have moved some of the code from the index.rhtml to the header.rhtml and also to a new separate page so the login is on its own page. I now receive server 500 error when trying to log in .Once the attempt to log in has been made you recieve internal server error 500   but if you direct back to home url you have actually been logged in. It also happens when creating a new account although the log in and new sign up are successfulyou are directed to a page called front-page.rhtml this is where the error is coming from. The login code is below&lt;br /&gt;
&lt;pre class="sourcecode"&gt;&amp;lt;% if !logged_in? %&amp;gt;
&amp;lt;h2&amp;gt;Log In&amp;lt;/h2&amp;gt;
&amp;lt;form accept-charset='utf-8' method='post' action='login'&amp;gt;
&amp;lt;p&amp;gt;Email Address: &amp;lt;input type='text' size='30' name='username'/&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;Password: &amp;lt;input type='password' size='30' name='password'/&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p&amp;gt;&amp;lt;input type='submit' value='Log in'/&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;p&amp;gt;(Click &amp;lt;a href='password-reminder'&amp;gt;here&amp;lt;/a&amp;gt; if you have forgotten your password)&amp;lt;/p&amp;gt;
&amp;lt;% else %&amp;gt;
&amp;lt;p&amp;gt;Hello &amp;lt;%= contact.name %&amp;gt;. (&amp;lt;a href='logout'&amp;gt;log out&amp;lt;/a&amp;gt;)&amp;lt;/p&amp;gt;
&amp;lt;% end %&amp;gt;
&lt;/pre&gt;&lt;br /&gt;
the only code on the front-page is &lt;pre class="sourcecode"&gt;&amp;lt;% else %&amp;gt;&lt;/pre&gt;&lt;br /&gt;
I guess there is a script file somewhere on the server which has the directives of where the code should be executed from? which is causing this error to occur as its coming from the wrong place I hope somebody could advise me or point me in the right direction. I did have similar problem before on and different piece of code and placing &lt;pre class="sourcecode"&gt;&amp;lt;%= url_prefix %&amp;gt;&lt;/pre&gt;  on the get action did the job not this time though&lt;br /&gt;
many thanks&lt;br /&gt;
dan&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/385367/385367/server-500-error/</guid>
      <pubDate>Sat, 07 Feb 2009 07:21:28 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>rhtml - controller race</title>
      <link>http://www.programmersheaven.com/mb/ruby/383776/383776/rhtml---controller-race/</link>
      <description>Hi,&lt;br /&gt;
here is my problem:&lt;br /&gt;
&lt;br /&gt;
One user, one (new) modem, one computer. He wants to connect to Internet&lt;br /&gt;
with the modem.&lt;br /&gt;
&lt;br /&gt;
The user that wants to connect with the modem first is redirected to&lt;br /&gt;
ruby application (by modem firmware -&amp;gt; www-is on VPN), after configuring&lt;br /&gt;
the settings the redirect is removed but the rhtml is not rendered&lt;br /&gt;
because the application (web/ruby) is on VPN and it has no access&lt;br /&gt;
anymore to it.&lt;br /&gt;
&lt;br /&gt;
Now, I am a beginner to ruby but I did some tries and searches and still&lt;br /&gt;
cannot make it that the text and some links that say yey u are&lt;br /&gt;
successfully connected to internet, here you have some docs about it...,&lt;br /&gt;
to be first displayed and then the settings to take effect and redirect&lt;br /&gt;
removed... in the same step, controller method &amp;lt;-&amp;gt; rhtml. The settings&lt;br /&gt;
they take effect and some text or none is displayed, it is a race on&lt;br /&gt;
what is first, rendering the rhtml or controllers method with get&lt;br /&gt;
requests to the modem is executed ... first.&lt;br /&gt;
&lt;br /&gt;
Thanks guys!&lt;br /&gt;
&lt;br /&gt;
summary:&lt;br /&gt;
what I am still looking for is a way of first to display the rhtml and after fire the get requests.&lt;br /&gt;
&lt;br /&gt;
One request is like this:&lt;br /&gt;
&lt;br /&gt;
    url = URI.parse("http://"+ session[:ip_addr] + "/blabla.wl?var1=1&amp;amp;...")&lt;br /&gt;
    req = Net::HTTP::Get.new(url.path+"?"+url.query)&lt;br /&gt;
    req.basic_auth "xxx","xxx"&lt;br /&gt;
    res = Net::HTTP.start(url.host, url.port) {|http| http.request(req)}&lt;br /&gt;
&lt;br /&gt;
and now is in controller, but I did try it in between &amp;lt;% %&amp;gt; in template rhtml but didn't displayed the template also.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/383776/383776/rhtml---controller-race/</guid>
      <pubDate>Fri, 02 Jan 2009 00:32:17 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Fun Ruby Project ideas</title>
      <link>http://www.programmersheaven.com/mb/ruby/375675/375675/fun-ruby-project-ideas/</link>
      <description>What are some Ruby projects you've worked on that taught you the most?&lt;br /&gt;
&lt;br /&gt;
Ruby projects have you worked on that are the most exciting, interesting, and fun?&lt;br /&gt;
&lt;br /&gt;
I'd like to know what kind of projects would be good for teaching and learning with and if they are fun too, it would keep the learning process more captivating.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/375675/375675/fun-ruby-project-ideas/</guid>
      <pubDate>Sat, 20 Sep 2008 09:28:50 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Ruby on Rails based Applications Development Methodology</title>
      <link>http://www.programmersheaven.com/mb/ruby/375106/375106/ruby-on-rails-based-applications-development-methodology/</link>
      <description>Hiddenbrains.com is continuously receiving admiration of its clients for its approach of adopting new technologies as company has started providing services on Ruby on Rails based Applications Development recently. Company is having great expertise in the field of web application development for the past many years. Our team of expert professionals of the Ruby on Rails is equipped to serve its global clientele. &lt;br /&gt;
&lt;br /&gt;
What is Ruby on Rails?&lt;br /&gt;
&lt;br /&gt;
By using architecture of Model-View-Controller (MVC) Ruby on Rails provides developer friendly technology to develop the web applications. It is an open source framework that provides cost effective techniques for the development of common websites as well as Ruby on Rails is having various flexible properties that help developers to make it compatible with other technologies. &lt;br /&gt;
&lt;br /&gt;
Most supportive characteristics of Ruby on Rails &lt;br /&gt;
&lt;br /&gt;
•	Having great architecture of Model-View-Controller (MVC) that performs various supportive activities to make the application more flexible such as it separate the applications into various layers or divide the application into certain levels for the better management. &lt;br /&gt;
&lt;br /&gt;
•	It helps the developers to complete application development work quicker as compare to other languages. It use save time as its coding much easier and short.&lt;br /&gt;
&lt;br /&gt;
•	Ruby on Rails is having active developing community that helps the world wide developers for better use of this technology. Flexible features of the technology are the main advantage for application development work such as “component re usability feature”. &lt;br /&gt;
&lt;br /&gt;
•	Ruby on Rails is easily compatible with other technologies for more productive results in the field of application development. As AJAX technology is based on Java and XML and it is easily compatible with Ruby on Rails. &lt;br /&gt;
&lt;br /&gt;
Hiddenbrains.com in web development with Ruby on Rails &lt;br /&gt;
&lt;br /&gt;
Hiddenbrains.com is offshore Web Development Company having great expertise in application development for the past many years introducing the “Web development with Ruby on Rails”. Company is able to develop productive Ruby on Rails applications as per the demands of the clients as well as company provides “Ruby on Rails hire services” to meet the requirements for web development. &lt;br /&gt;
Visit our website for more information &lt;a href="http://www.hiddenbrains.com/ruby-on-rails-development.html."&gt;http://www.hiddenbrains.com/ruby-on-rails-development.html.&lt;/a&gt; &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/375106/375106/ruby-on-rails-based-applications-development-methodology/</guid>
      <pubDate>Wed, 10 Sep 2008 22:51:22 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Ruby Programmer needed for Project - Detroit</title>
      <link>http://www.programmersheaven.com/mb/ruby/375004/375004/ruby-programmer-needed-for-project---detroit/</link>
      <description>We are looking for a qualified Ruby on Rails developer to help our client design and build a number of interactive web applications.&lt;br /&gt;
&lt;br /&gt;
The developer will work directly with our client to gain a strong understanding of the project needs and to iteratively refine the applications as they are built. He or she will work with the entire application stack, from helping to design the database and building sophisticated model classes, to writing templates, to layering on a richer user experience using with the jQuery JavaScript library. A working knowledge of CSS is also useful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Qualifications:&lt;br /&gt;
&lt;br /&gt;
* Knowledge of the Ruby language, object-oriented programming&lt;br /&gt;
&lt;br /&gt;
* Experience developing and deploying Ruby on Rails applications&lt;br /&gt;
&lt;br /&gt;
* Database design and SQL experience (MySQL and SQL Server directly applicable)&lt;br /&gt;
&lt;br /&gt;
* Strong HTML, XHTML, and CSS experience&lt;br /&gt;
&lt;br /&gt;
* Experience working in a team environment; friendly, outgoing manner&lt;br /&gt;
&lt;br /&gt;
* Great communication skills, both verbal and written &lt;br /&gt;
&lt;br /&gt;
Other Requirements: &lt;br /&gt;
&lt;br /&gt;
When you work with our company as a Contractor/Freelancer through our company, you get great benefits and exposure to jobs that aren't advertised! After you have worked for 4 consecutive weeks with us, you will be eligible to sign up for our Cigna medical/dental/vision insurance benefits. We subsidize this, so if you choose the HMO option and work 40 hours per week, medical insurance is FREE for you!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As a contract worker, you also get perks such as discounts at the Apple Store, CDW and Barnes and Noble. After 5 months of working you gain even more benefits, such as paid holidays, option to participate in our 401k program (with company match), and annual vacation bonus pay.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/375004/375004/ruby-programmer-needed-for-project---detroit/</guid>
      <pubDate>Mon, 08 Sep 2008 02:57:31 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Free download Ruby ebooks</title>
      <link>http://www.programmersheaven.com/mb/ruby/374937/374937/free-download-ruby-ebooks/</link>
      <description>Dear Friends,&lt;br /&gt;
&lt;br /&gt;
You are free to download Ruby ebooks.&lt;br /&gt;
&lt;br /&gt;
Download from &lt;br /&gt;
&lt;a href="http://freedownload12.blogspot.com/"&gt;http://freedownload12.blogspot.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Other Useful Links&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://aspnet2008.blogspot.com/"&gt;http://aspnet2008.blogspot.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://ajaxsample.blogspot.com/"&gt;http://ajaxsample.blogspot.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://bugtrace.blogspot.com/"&gt;http://bugtrace.blogspot.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://mssqlinterview.blogspot.com/"&gt;http://mssqlinterview.blogspot.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://javascriptinterview.blogspot.com/"&gt;http://javascriptinterview.blogspot.com/&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/374937/374937/free-download-ruby-ebooks/</guid>
      <pubDate>Fri, 05 Sep 2008 23:00:04 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>RoR Development Team</title>
      <link>http://www.programmersheaven.com/mb/ruby/373468/373468/ror-development-team/</link>
      <description>We represent an established team of three Ruby on Rails developers who are available immediately for projects large or small.&lt;br /&gt;
&lt;br /&gt;
Technical Experience:&lt;br /&gt;
* Each developer was selected from a large pool of candidates passing multiple rounds of written and oral technical interviews&lt;br /&gt;
* Experienced in rich AJAX Web 2.0 applications using JavaScript and Rails helpers to interface Prototype and Script.aculo.us libraries.&lt;br /&gt;
* Deep knowledge of Rails 1.2 &amp;amp; Rails 2.0 frameworks and REST::NET web services, attachmentfu, Rmagick, Spry framework etc&lt;br /&gt;
* Deployment expertise in Windows and Linux to setup architectures with mongrel clusters using either apache or nginx&lt;br /&gt;
&lt;br /&gt;
Recent projects the team has completed:&lt;br /&gt;
* Custom-built ERP system for a manufacturing company (7000+ programming hours)&lt;br /&gt;
* Custom-built administrable online content-sharing application (1000+ programming hours)&lt;br /&gt;
* Entertainment portal, allowing users to search for and view online multimedia from various sources (500+ programming hours)&lt;br /&gt;
&lt;br /&gt;
The team is in South America, so the rates are substantially below typical US standards while the developers are vertically below US time zones, making communication much easier than with India.  They prefer to work with an Agile development methodology that includes frequent releases and communication.  The team is fluent in Spanish and has excellent written English with good spoken English.&lt;br /&gt;
&lt;br /&gt;
If desired, DreamStaffing can also supplement this team with a fluent bi-lingual project manager, HTML/CSS developers, user interface designers, or any other skill sets that are needed for a project.&lt;br /&gt;
&lt;br /&gt;
Please contact us at ROR-team@dreamstaffing.com  for more information.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/373468/373468/ror-development-team/</guid>
      <pubDate>Thu, 17 Jul 2008 23:07:54 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Need help with a script</title>
      <link>http://www.programmersheaven.com/mb/ruby/372660/372660/need-help-with-a-script/</link>
      <description>When i run this code (through NETBEANS - with ruby addon) it does not function correctly.&lt;br /&gt;
It doesn't login correctly and I'm not sure whats wrong.&lt;br /&gt;
Im am still in the process of learning ruby, and any help would be greatly appreciated.&lt;br /&gt;
&lt;hr /&gt;&lt;br /&gt;
#!/usr/bin/ruby&lt;br /&gt;
require 'open-uri'&lt;br /&gt;
&lt;br /&gt;
#E-Mail and Password... replace /'s with %2f&lt;br /&gt;
email = "hotmail@hotmail.com"&lt;br /&gt;
password = "****************"&lt;br /&gt;
&lt;br /&gt;
#Whatever the file name is that you're using... Mining is view.fcgi (if I remember, chatbox is comm.fcgi etc.)&lt;br /&gt;
file_name = "view.fcgi"&lt;br /&gt;
&lt;br /&gt;
#What it says in the address bar besides the email and password. Make sure a &amp;amp; precedes every variable&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;do=2&amp;amp;lvl=13"&lt;br /&gt;
&lt;br /&gt;
#Don't change this...&lt;br /&gt;
referer = "http://a3.alienaa.com/cgi-bin/#{file_name}"&lt;br /&gt;
url = "http://a3.alienaa.com/cgi-bin/#{file_name}?&amp;amp;email=#{email}&amp;amp;pass=#{password}"&lt;br /&gt;
user_agent = "Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1)"&lt;br /&gt;
&lt;br /&gt;
#Amount of veins to mine&lt;br /&gt;
veins = -1&lt;br /&gt;
to_mine = 200&lt;br /&gt;
&lt;br /&gt;
#Final URL to use in open()&lt;br /&gt;
goto = "#{url}#{uri}"&lt;br /&gt;
&lt;br /&gt;
#Previous direction that was gone. options are: n (north), e (east), s (south), w (west)&lt;br /&gt;
prev_dir = ""&lt;br /&gt;
&lt;br /&gt;
#Method for when it gets stuck with only one option (going east, only option west, so it can't move)&lt;br /&gt;
def stuck line, prev_dir&lt;br /&gt;
if (prev_dir == "e" || prev_dir == "w")&lt;br /&gt;
if (!(/&amp;amp;go=s&amp;gt;/ =~ line) &amp;amp;&amp;amp; (!(/&amp;amp;go=n&amp;gt;/ =~ line)))&lt;br /&gt;
return true&lt;br /&gt;
end&lt;br /&gt;
elsif (prev_dir == "s" || prev_dir == "n")&lt;br /&gt;
if (!(/&amp;amp;go=w&amp;gt;/ =~ line) &amp;amp;&amp;amp; (!(/&amp;amp;go=e&amp;gt;/ =~ line)))&lt;br /&gt;
return true&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
#method for finding out which to map to&lt;br /&gt;
def prev dir&lt;br /&gt;
if (dir == "e")&lt;br /&gt;
return "w"&lt;br /&gt;
elsif (dir == "w")&lt;br /&gt;
return "e"&lt;br /&gt;
elsif (dir == "s")&lt;br /&gt;
return "n"&lt;br /&gt;
elsif (dir == "n")&lt;br /&gt;
return "s"&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#timer vars, to change up the directions (so it doesn't get into a pattern)&lt;br /&gt;
set_arr = ['e','s','w','n']&lt;br /&gt;
rand_arr = []&lt;br /&gt;
trail = []&lt;br /&gt;
trail_moves = 0&lt;br /&gt;
moves = 0&lt;br /&gt;
&lt;br /&gt;
def track_back prev_dir&lt;br /&gt;
case prev_dir&lt;br /&gt;
when "e"&lt;br /&gt;
return "w"&lt;br /&gt;
when "w"&lt;br /&gt;
return "e"&lt;br /&gt;
when "n"&lt;br /&gt;
return "s"&lt;br /&gt;
when "s"&lt;br /&gt;
return "n"&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
while (veins &amp;lt; to_mine)&lt;br /&gt;
#1 second sleep for one connection a second&lt;br /&gt;
sleep(0.10);&lt;br /&gt;
goto = "#{url}#{uri}"&lt;br /&gt;
open( goto, "Referer"=&amp;gt;referer, "User-Agent"=&amp;gt;user_agent ) do |site|&lt;br /&gt;
line = site.read&lt;br /&gt;
if (/&amp;amp;step=pit&amp;amp;mine=1/ =~ line)&lt;br /&gt;
if (/&amp;amp;step=pit&amp;amp;mine=1&amp;amp;shovel=1/ =~ line)&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;mine=1&amp;amp;shovel=1"&lt;br /&gt;
puts "Shoveled for extra ore! Sweet!"&lt;br /&gt;
#veins += 1&lt;br /&gt;
else&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;mine=1"&lt;br /&gt;
puts "Mined"&lt;br /&gt;
#veins += 1&lt;br /&gt;
end&lt;br /&gt;
break&lt;br /&gt;
elsif ((/&amp;amp;leave=1/ =~ line || /&amp;amp;next=1/ =~ line) &amp;amp;&amp;amp; (prev_dir == "" || prev_dir == "leave"))&lt;br /&gt;
if (/&amp;amp;leave=1/ =~ line)&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;leave=1"&lt;br /&gt;
prev_dir = "leave"&lt;br /&gt;
elsif (/&amp;amp;next=1/ =~ line)&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;next=1"&lt;br /&gt;
prev_dir = "next"&lt;br /&gt;
trail = []&lt;br /&gt;
trail_moves = 0&lt;br /&gt;
end&lt;br /&gt;
break&lt;br /&gt;
else&lt;br /&gt;
if (prev_dir == "leave") #Check to see if on the wrong level&lt;br /&gt;
break&lt;br /&gt;
end&lt;br /&gt;
puts prev_dir if (trail_moves &amp;lt;= 150)&lt;br /&gt;
moves += 1&lt;br /&gt;
if (moves &amp;gt; 40 )&lt;br /&gt;
while (!(set_arr.empty?))&lt;br /&gt;
rand_arr.push(set_arr.delete_at(rand(set_arr.size)
))&lt;br /&gt;
end&lt;br /&gt;
set_arr = rand_arr&lt;br /&gt;
rand_arr = []&lt;br /&gt;
puts "Directions Randomized!"&lt;br /&gt;
moves = 0&lt;br /&gt;
end&lt;br /&gt;
if (trail_moves &amp;gt; 50) #Maximum amount of steps, traces back&lt;br /&gt;
trace_pop = trail.pop&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;go=#{trace_pop}"&lt;br /&gt;
print "trace"&lt;br /&gt;
puts trace_pop&lt;br /&gt;
if (trail.empty? or /&amp;amp;do=1&amp;amp;lvl=13/ =~ line)&lt;br /&gt;
if (/&amp;amp;do=1&amp;amp;lvl=13/ =~ line)&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;do=2&amp;amp;lvl=13"&lt;br /&gt;
end&lt;br /&gt;
trail_moves = 0&lt;br /&gt;
trail = []&lt;br /&gt;
prev_dir = ""&lt;br /&gt;
end&lt;br /&gt;
moves = 0&lt;br /&gt;
break&lt;br /&gt;
end&lt;br /&gt;
if (/&amp;amp;do=1&amp;amp;lvl=13/ =~ line) #Check to see if you died during the pit&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;do=2&amp;amp;lvl=13"&lt;br /&gt;
prev_dir = ""&lt;br /&gt;
puts "Dead, restarting"&lt;br /&gt;
trail_moves = 0&lt;br /&gt;
trail = []&lt;br /&gt;
moves = 0&lt;br /&gt;
break&lt;br /&gt;
end&lt;br /&gt;
if (prev_dir == "" || prev_dir == "next")&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;go=s"&lt;br /&gt;
prev_dir = "s"&lt;br /&gt;
trail.push("n")&lt;br /&gt;
trail_moves += 1&lt;br /&gt;
break&lt;br /&gt;
elsif (/&amp;amp;go=#{prev_dir}&amp;gt;/ =~ line)&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;go=#{prev_dir}"&lt;br /&gt;
trail.push(track_back(prev_dir))&lt;br /&gt;
trail_moves += 1&lt;br /&gt;
break&lt;br /&gt;
elsif ((/&amp;amp;go=#{set_arr[0]}&amp;gt;/ =~ line) &amp;amp;&amp;amp; (prev_dir != prev(set_arr[0]) || stuck(line, prev_dir)))&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;go=#{set_arr[0]}"&lt;br /&gt;
prev_dir = "#{set_arr[0]}"&lt;br /&gt;
trail.push(track_back(prev_dir))&lt;br /&gt;
trail_moves += 1&lt;br /&gt;
break&lt;br /&gt;
elsif ((/&amp;amp;go=#{set_arr[1]}&amp;gt;/ =~ line) &amp;amp;&amp;amp; (prev_dir != prev(set_arr[1]) || stuck(line, prev_dir)))&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;go=#{set_arr[1]}"&lt;br /&gt;
prev_dir = "#{set_arr[1]}"&lt;br /&gt;
trail.push(track_back(prev_dir))&lt;br /&gt;
trail_moves += 1&lt;br /&gt;
break&lt;br /&gt;
elsif ((/&amp;amp;go=#{set_arr[2]}&amp;gt;/ =~ line) &amp;amp;&amp;amp; (prev_dir != prev(set_arr[2]) || stuck(line, prev_dir)))&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;go=#{set_arr[2]}"&lt;br /&gt;
prev_dir = "#{set_arr[2]}"&lt;br /&gt;
trail.push(track_back(prev_dir))&lt;br /&gt;
trail_moves += 1&lt;br /&gt;
break&lt;br /&gt;
elsif ((/&amp;amp;go=#{set_arr[3]}&amp;gt;/ =~ line) &amp;amp;&amp;amp; (prev_dir != prev(set_arr[3]) || stuck(line, prev_dir)))&lt;br /&gt;
uri = "&amp;amp;step=pit&amp;amp;go=#{set_arr[3]}"&lt;br /&gt;
prev_dir = "#{set_arr[3]}"&lt;br /&gt;
trail.push(track_back(prev_dir))&lt;br /&gt;
trail_moves += 1&lt;br /&gt;
break&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;hr /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/372660/372660/need-help-with-a-script/</guid>
      <pubDate>Sun, 15 Jun 2008 13:33:26 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>New and with a problem.</title>
      <link>http://www.programmersheaven.com/mb/ruby/372544/372544/new-and-with-a-problem/</link>
      <description>Hi, all &lt;br /&gt;
I've just entered into the world of programming and, I guess I chose ruby.&lt;br /&gt;
I'm trying to make this work but it doesn't seem to wan't to&lt;br /&gt;
I don't know why it shows both ifs&lt;br /&gt;
If some one could help, I'd be really appreciative!&lt;br /&gt;
&lt;br /&gt;
puts 'Speak up Sonny I can\'t hear you.'&lt;br /&gt;
talk = gets.chomp&lt;br /&gt;
if talk == talk.capitalize or talk.downcase &lt;br /&gt;
  then puts 'What? Sonny speak louder! Like THIS.'&lt;br /&gt;
if talk == talk.upcase &lt;br /&gt;
  then puts 'no not since'&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/372544/372544/new-and-with-a-problem/</guid>
      <pubDate>Mon, 09 Jun 2008 16:41:41 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>what is printed by this function?</title>
      <link>http://www.programmersheaven.com/mb/ruby/370156/370156/what-is-printed-by-this-function/</link>
      <description>Hey everyone.. i never used Ruby before ... so trying to learn more about it's techniques...&lt;br /&gt;
can someone please tell me what will be the output of the following program segment assuming that the &lt;strong&gt;puts&lt;/strong&gt; function prints its arguament on standard output followed by a newline.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
      def h(k)
        k.call
        puts "in h"
      end

      def g(k)
        h(k)
        puts "in g"
      end

      def f()
        callcc {|cc|g(cc)}
        puts "in f"
      end

      f
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
thank you&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/370156/370156/what-is-printed-by-this-function/</guid>
      <pubDate>Sat, 08 Mar 2008 18:09:26 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Ruby vs. C++</title>
      <link>http://www.programmersheaven.com/mb/ruby/366596/366596/ruby-vs-c++/</link>
      <description>I have just posted on my blog the reasons why I think &lt;a href="http://outofthetriangle.wordpress.com/2007/10/18/is-c-the-only-real-language/"&gt;C++ is the one true programming language&lt;/a&gt; (I am being slightly tongue in cheek here). I used 10 questions to compare it to other languages. Unfortunately I have not been able to compare it to Ruby as I don’t have any significant experience of Ruby development. Would anyone be willing to score Ruby for me?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/366596/366596/ruby-vs-c++/</guid>
      <pubDate>Thu, 18 Oct 2007 11:32:40 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Come and join my forum!!!</title>
      <link>http://www.programmersheaven.com/mb/ruby/363787/363787/come-and-join-my-forum/</link>
      <description>Come and join my forum!!!&lt;br /&gt;
&lt;br /&gt;
Many video and MP3 for you to download!!!&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://forums.boajjang.com"&gt;http://forums.boajjang.com&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.boa-planet.net"&gt;http://www.boa-planet.net&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please support my forum by uploading all your video and mp3 too!!! &lt;br /&gt;
Thank you!!!&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/363787/363787/come-and-join-my-forum/</guid>
      <pubDate>Wed, 25 Jul 2007 17:16:02 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>PayPal - SDK for Ruby</title>
      <link>http://www.programmersheaven.com/mb/ruby/363138/363138/paypal---sdk-for-ruby/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
Does PayPal have SDK for Ruby?&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
&lt;br /&gt;
Tom&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/363138/363138/paypal---sdk-for-ruby/</guid>
      <pubDate>Thu, 12 Jul 2007 12:49:49 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>An Introduction to Web Development Using the Ruby on Rails Framework</title>
      <link>http://www.programmersheaven.com/mb/ruby/357778/357778/an-introduction-to-web-development-using-the-ruby-on-rails-framework/</link>
      <description>This article presents the basic concepts used by the popular Ruby on Rails web development framework &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.methodsandtools.com/archive/archive.php?id=47"&gt;http://www.methodsandtools.com/archive/archive.php?id=47&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/357778/357778/an-introduction-to-web-development-using-the-ruby-on-rails-framework/</guid>
      <pubDate>Mon, 16 Apr 2007 05:07:12 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>Cambrige Prefix Calculator</title>
      <link>http://www.programmersheaven.com/mb/ruby/356224/356224/cambrige-prefix-calculator/</link>
      <description>I've been given this assignment to implement a cambridge prefix calculator using ruby and I'm having trouble getting started. If you could please provide any helpful methods to try or any helpful information it would be greatly appreciated.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/356224/356224/cambrige-prefix-calculator/</guid>
      <pubDate>Sun, 18 Mar 2007 18:04:04 -0700</pubDate>
      <category>Ruby</category>
    </item>
    <item>
      <title>How can Ruby search for files on my Windows network computers?</title>
      <link>http://www.programmersheaven.com/mb/ruby/343162/343162/how-can-ruby-search-for-files-on-my-windows-network-computers/</link>
      <description>I currently use a Python Script that looks across my Windows network for computers having a specific out-of-date file.  The idea is to run the script, get a list of computers with the out-of-date application, and then replace the application on the identified computers.  The script generally works, but I would like to shift to using Ruby as our primary scripting language.&lt;br /&gt;
&lt;br /&gt;
Any ideas?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ruby/343162/343162/how-can-ruby-search-for-files-on-my-windows-network-computers/</guid>
      <pubDate>Tue, 15 Aug 2006 08:20:00 -0700</pubDate>
      <category>Ruby</category>
    </item>
  </channel>
</rss>