<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>firstruby</title>
	<atom:link href="http://firstruby.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://firstruby.wordpress.com</link>
	<description>Master ruby with us</description>
	<lastBuildDate>Thu, 07 Feb 2013 00:27:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='firstruby.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>firstruby</title>
		<link>http://firstruby.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://firstruby.wordpress.com/osd.xml" title="firstruby" />
	<atom:link rel='hub' href='http://firstruby.wordpress.com/?pushpress=hub'/>
		<item>
		<title>json gem installation problem in Ruby on Rails 3.0 on Windows and usage of DevKit</title>
		<link>http://firstruby.wordpress.com/2011/11/13/json-gem-installation-problem-in-rails-3-0-and-usage-of-devkit/</link>
		<comments>http://firstruby.wordpress.com/2011/11/13/json-gem-installation-problem-in-rails-3-0-and-usage-of-devkit/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 09:38:51 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[DevKit]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[rails 3.0.x]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=275</guid>
		<description><![CDATA[While installaing json gem in Ruby on Rails 3.0 or 3.1, I was getting following error, firstruby@FIRSTRUBY /demo $ gem install json -v=1.4.6 &#8211;platform=ruby &#8211;no-ri &#8211;no-rdoc Fetching: json-1.4.6.gem (100%) ERROR: Error installing json: The &#8216;json&#8217; native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from &#8216;http://rubyinstaller.org/downloads&#038;#8217; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=275&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>While installaing json gem in Ruby on Rails 3.0 or 3.1, I was getting following error,</p>
<p>firstruby@FIRSTRUBY /demo<br />
$ gem install json -v=1.4.6 &#8211;platform=ruby &#8211;no-ri &#8211;no-rdoc<br />
Fetching: json-1.4.6.gem (100%)<br />
ERROR:  Error installing json:<br />
        The &#8216;json&#8217; native gem requires installed build tools.</p>
<p>Please update your PATH to include build tools or download the DevKit<br />
from &#8216;<a href="http://rubyinstaller.org/downloads&#038;#8217" rel="nofollow">http://rubyinstaller.org/downloads&#038;#8217</a>; and follow the instructions<br />
at &#8216;<a href="http://github.com/oneclick/rubyinstaller/wiki/Development-Kit&#038;#8217" rel="nofollow">http://github.com/oneclick/rubyinstaller/wiki/Development-Kit&#038;#8217</a>;</p>
<p>firstruby@FIRSTRUBY /demo</p>
<p>To fix this problem, need to install Development Kit (DevKit &#8211; Its a toolkit that makes it easy to build and use native C/C++ extensions for Ruby on Windows) as follows,</p>
<p>1) Download DevKit file from <a href="http://rubyinstaller.org/downloads" rel="nofollow">http://rubyinstaller.org/downloads</a> (DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe)<br />
2) Extract DevKit to path C:\Ruby192\DevKit<br />
3) Goto DevKit installation directory, </p>
<blockquote><p>cd C:\Ruby192\DevKit</p></blockquote>
<p>4) Run following command,</p>
<blockquote><p>ruby dk.rb init </p></blockquote>
<p>It will generate the config.yml file. This config file should include installed Ruby path, like &#8220;C:\Ruby192&#8243;<br />
5) Run following command,</p>
<blockquote><p>ruby dk.rb review</p></blockquote>
<p>It is useful to review the list of Rubies to be enhanced to use the DevKit and verify the changes you made to it are correct.<br />
6) Run following command,</p>
<blockquote><p>ruby dk.rb install</p></blockquote>
<p>It is useful to enhance your installed Rubies and makes it easy to build and use native C/C++ extensions such as json.</p>
<p>Reference : <a href="https://github.com/oneclick/rubyinstaller/wiki/Development-Kit" rel="nofollow">https://github.com/oneclick/rubyinstaller/wiki/Development-Kit</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=275&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/11/13/json-gem-installation-problem-in-rails-3-0-and-usage-of-devkit/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>How to pass command line argument to Rake task</title>
		<link>http://firstruby.wordpress.com/2011/10/02/how-to-pass-command-line-argument-to-rake-task/</link>
		<comments>http://firstruby.wordpress.com/2011/10/02/how-to-pass-command-line-argument-to-rake-task/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 10:22:32 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[rake]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=270</guid>
		<description><![CDATA[Following is the way to pass command line argument to Rake task, rake app:test argument_name=&#8217;Hello World&#8217; And read command line argument in following rake task, namespace :app do desc &#8216;test&#8217; task :test =&#62; :environment do &#124;t&#124; puts ENV['argument_name'] end end<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=270&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Following is the way to pass command line argument to Rake task,</p>
<blockquote><p>rake app:test argument_name=&#8217;Hello World&#8217;</p></blockquote>
<p>And read command line argument in following rake task,</p>
<blockquote><p>
namespace :app do<br />
	desc &#8216;test&#8217;<br />
	task :test =&gt; :environment do |t|<br />
		puts ENV['argument_name']<br />
	end<br />
end
</p></blockquote>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=270&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/10/02/how-to-pass-command-line-argument-to-rake-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Protected: Ruby on Rails 3.1.x application Deployment on Heroku</title>
		<link>http://firstruby.wordpress.com/2011/09/01/ruby-on-rails-3-1-x-application-deployment-on-heroku/</link>
		<comments>http://firstruby.wordpress.com/2011/09/01/ruby-on-rails-3-1-x-application-deployment-on-heroku/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 15:38:29 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[rails 3.1]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=240</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=240&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This post is password protected. You must visit the website and enter the password to continue reading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=240&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/09/01/ruby-on-rails-3-1-x-application-deployment-on-heroku/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Mysql::Error: query: not connected while rake db:migrate</title>
		<link>http://firstruby.wordpress.com/2011/08/25/mysqlerror-query-not-connected-while-rake-dbmigrate/</link>
		<comments>http://firstruby.wordpress.com/2011/08/25/mysqlerror-query-not-connected-while-rake-dbmigrate/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 15:49:03 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=234</guid>
		<description><![CDATA[With Ruby 1.9.2 and Rails 3.0.10, If you are facing following problem while doing &#8220;rake db:migrate&#8221;, Mysql::Error: query: not connected: SHOW TABLES then you may need to download &#8216;libmySQL&#8217; from http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll and paste that in C:\Ruby192\bin folder.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=234&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>With Ruby 1.9.2 and Rails 3.0.10,<br />
If you are facing following problem while doing &#8220;rake db:migrate&#8221;, </p>
<p><code>Mysql::Error: query: not connected: SHOW TABLES</code></p>
<p>then you may need to download &#8216;libmySQL&#8217; from <a href="http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll" title="libmySQL.dll" target="_blank">http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll</a>  and paste that in C:\Ruby192\bin folder.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/234/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/234/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=234&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/08/25/mysqlerror-query-not-connected-while-rake-dbmigrate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenSSL::Cipher::CipherError (Illegal key size) in jRuby on Rails application</title>
		<link>http://firstruby.wordpress.com/2011/07/17/opensslcipherciphererror-illegal-key-size-in-jruby-on-rails-application/</link>
		<comments>http://firstruby.wordpress.com/2011/07/17/opensslcipherciphererror-illegal-key-size-in-jruby-on-rails-application/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 17:29:15 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[jar]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jruby]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=283</guid>
		<description><![CDATA[If you got following error, OpenSSL::Cipher::CipherError (Illegal key size) it means you need to install &#8216;Java Jurisdiction policy files&#8217;. These files can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html and copy &#8216;local_policy.jar&#8217;, &#8216;US_export_policy.jar&#8217; and replaced at &#8216;C:\Program Files\Java\jdk1.6.0\jre\lib\security&#8217;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=283&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you got following error,</p>
<blockquote><p>OpenSSL::Cipher::CipherError (Illegal key size)</p></blockquote>
<p>it means you need to install &#8216;Java Jurisdiction policy files&#8217;. These files can be downloaded from <a href="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html" rel="nofollow">http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html</a> and copy &#8216;local_policy.jar&#8217;, &#8216;US_export_policy.jar&#8217; and replaced at &#8216;C:\Program Files\Java\jdk1.6.0\jre\lib\security&#8217;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/283/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/283/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=283&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/07/17/opensslcipherciphererror-illegal-key-size-in-jruby-on-rails-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>HTTP authentication for Ruby on Rails application</title>
		<link>http://firstruby.wordpress.com/2011/06/23/http-authentication-for-ruby-on-rails-application/</link>
		<comments>http://firstruby.wordpress.com/2011/06/23/http-authentication-for-ruby-on-rails-application/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 10:50:52 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[HTTP authentication]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=244</guid>
		<description><![CDATA[You may want to add HTTP authentication to your Ruby on Rails site, add following to your application controller file, before_filter :authenticate protected def authenticate authenticate_or_request_with_http_basic do &#124;username, password&#124; username == "test" &#38;&#38; password == "test" end end After adding these lines, application will ask for username and password.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=244&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>You may want to add HTTP authentication to your Ruby on Rails site, add following to your application controller file,</p>
<p><code><br />
  before_filter :authenticate</p>
<p>  protected</p>
<p>  def authenticate<br />
    authenticate_or_request_with_http_basic do |username, password|<br />
      username == "test" &amp;&amp; password == "test"<br />
    end<br />
  end<br />
</code></p>
<p>After adding these lines, application will ask for username and password.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/244/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/244/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=244&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/06/23/http-authentication-for-ruby-on-rails-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Language fallback mechanism in Ruby on Rails</title>
		<link>http://firstruby.wordpress.com/2011/05/29/language-fallback-mechanism-in-ruby-on-rails/</link>
		<comments>http://firstruby.wordpress.com/2011/05/29/language-fallback-mechanism-in-ruby-on-rails/#comments</comments>
		<pubDate>Sun, 29 May 2011 05:24:38 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[internationalization]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=230</guid>
		<description><![CDATA[Language fallback mechanism in Ruby on Rails is very useful. It is useful in 2 ways, 1) File missing : If particular locale file say German locale &#8216;de&#8217; is set from browser, then Rails application will look for de.yml file in /config/locales folder, and if de.yml is missing, then by default language fallback mechanism will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=230&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Language fallback mechanism in Ruby on Rails is very useful. It is useful in 2 ways,</p>
<p>1) <strong>File missing</strong> : If particular locale file say German locale &#8216;de&#8217; is set from browser, then Rails application will look for de.yml file in /config/locales folder, and if de.yml is missing, then by default language fallback mechanism will load en.yml file as default.</p>
<p>2) <strong>Entry missing</strong>: If German locale &#8216;de&#8217; is set from browser, then Rails application will look for de.yml file in /config/locales folder. In case, particular entry is missing in de.yml file, then conversion for the same language will be loaded from en.yml file.</p>
<p>To achieve this, just need to install latest I18n gem and need to create file /config/initializers/i18n.rb file with following,</p>
<p><code>I18n.backend.class.send(:include, I18n::Backend::Fallbacks)</code></p>
<p>Reference URL : <a href="http://stackoverflow.com/questions/2324398/fall-back-to-default-language-if-translation-missing" rel="nofollow">http://stackoverflow.com/questions/2324398/fall-back-to-default-language-if-translation-missing</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/230/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/230/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=230&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/05/29/language-fallback-mechanism-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Protected: Ruby on Rails 3.0.x application Deployment on Heroku</title>
		<link>http://firstruby.wordpress.com/2011/03/17/ruby-on-rails-3-0-x-application-deployment-on-heroku/</link>
		<comments>http://firstruby.wordpress.com/2011/03/17/ruby-on-rails-3-0-x-application-deployment-on-heroku/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 15:53:45 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[rails 3.0.x]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=247</guid>
		<description><![CDATA[There is no excerpt because this is a protected post.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=247&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>This post is password protected. You must visit the website and enter the password to continue reading.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/247/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/247/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=247&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/03/17/ruby-on-rails-3-0-x-application-deployment-on-heroku/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Regular Expression to skip alphabets, accepts numbers and few characters</title>
		<link>http://firstruby.wordpress.com/2011/02/20/regular-expression-to-skip-alphabets-accepts-numbers-and-few-characters/</link>
		<comments>http://firstruby.wordpress.com/2011/02/20/regular-expression-to-skip-alphabets-accepts-numbers-and-few-characters/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 07:40:54 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[RegEx]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=252</guid>
		<description><![CDATA[Following is the Regular expression which accepts numbers, plus (+), miuns (-) symols and skips alphabets, RegEx:   /\A[+\-0-9]+\z/ This RegEx can be useful for Phone number validation.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=252&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Following is the Regular expression which accepts numbers, plus (+), miuns (-) symols and skips alphabets,</p>
<p>RegEx:   /\A[+\-0-9]+\z/</p>
<p>This RegEx can be useful for Phone number validation.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=252&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/02/20/regular-expression-to-skip-alphabets-accepts-numbers-and-few-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
		<item>
		<title>Call Helper method from ActionMailer views in Ruby on Rails application</title>
		<link>http://firstruby.wordpress.com/2011/02/02/call-helper-method-from-actionmailer-views-in-ruby-on-rails-application/</link>
		<comments>http://firstruby.wordpress.com/2011/02/02/call-helper-method-from-actionmailer-views-in-ruby-on-rails-application/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 09:24:18 +0000</pubDate>
		<dc:creator>firstruby</dc:creator>
				<category><![CDATA[Useful Links]]></category>
		<category><![CDATA[actionmailer]]></category>
		<category><![CDATA[helper]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://firstruby.wordpress.com/?p=225</guid>
		<description><![CDATA[If you want to call helper method from ActionMailer view in Ruby on Rails (RoR) application, you need to include helper (module) in Mailer file as, If Helper module name is &#8220;UserHelper&#8221;, then need to write following in Mailer file, add_template_helper(UserHelper) After this, you will be able to access all the methods written in UserHelper [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=225&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>If you want to call helper method from ActionMailer view in Ruby on Rails (RoR) application, you need to include helper (module) in Mailer file as,</p>
<p>If Helper module name is &#8220;UserHelper&#8221;, then need to write following in Mailer file,</p>
<p><code>add_template_helper(UserHelper)</code></p>
<p>After this, you will be able to access all the methods written in UserHelper in ActionMailer views.</p>
<p>Hope this is helpful.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/firstruby.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/firstruby.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=firstruby.wordpress.com&#038;blog=520515&#038;post=225&#038;subd=firstruby&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://firstruby.wordpress.com/2011/02/02/call-helper-method-from-actionmailer-views-in-ruby-on-rails-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/00e5161c5b9908a6e81639e34a22cf2b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">firstruby</media:title>
		</media:content>
	</item>
	</channel>
</rss>
