<?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>semanticpool &#187; Ruby/RoR</title>
	<atom:link href="http://www.semanticpool.de/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.semanticpool.de</link>
	<description>finest thoughts since 2003</description>
	<lastBuildDate>Mon, 14 Jun 2010 15:08:04 +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>Getting the domain name for a request with Ruby on Rails</title>
		<link>http://www.semanticpool.de/getting-the-domain-name-for-a-request-with-ruby-on-rails/</link>
		<comments>http://www.semanticpool.de/getting-the-domain-name-for-a-request-with-ruby-on-rails/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 10:33:07 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Ruby/RoR]]></category>

		<guid isPermaLink="false">http://www.semanticpool.de/?p=530</guid>
		<description><![CDATA[Just tried to get the domain name in an ActionController and here we go: e.g.
render :text =&#62; request.domain()
]]></description>
			<content:encoded><![CDATA[<p>Just tried to get the domain name in an ActionController and here we go: e.g.</p>
<pre>render :text =&gt; request.domain()</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.semanticpool.de/getting-the-domain-name-for-a-request-with-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache Lucene and Ruby</title>
		<link>http://www.semanticpool.de/apache-lucene-and-ruby/</link>
		<comments>http://www.semanticpool.de/apache-lucene-and-ruby/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 10:37:28 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Ruby/RoR]]></category>
		<category><![CDATA[Search&Find]]></category>
		<category><![CDATA[AmazonS3]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Lucene]]></category>

		<guid isPermaLink="false">http://www.semanticpool.de/?p=526</guid>
		<description><![CDATA[Robert Dempsey has written a nice article about &#8216;Using Amazon S3, EC2, SQS, Lucene, and Ruby for Web Spidering&#8216;, which is very interesting because it describes how to interact with Apache Lucene using Ruby.

]]></description>
			<content:encoded><![CDATA[<p><a href="http://rorblog.techcfl.com/2008/02/04/using-amazon-s3-ec2-sqs-lucene-and-ruby-for-web-spidering/">Robert Dempsey</a> has written a nice article about &#8216;<a href="http://developer.amazonwebservices.com/connect/entry.jspa?categoryID=139&amp;externalID=1182">Using Amazon S3, EC2, SQS, Lucene, and Ruby for Web Spidering</a>&#8216;, which is very interesting because it describes how to interact with <a href="http://lucene.apache.org">Apache Lucene</a> using Ruby.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/017a711f-604d-449a-81d9-6cb6505f6e37/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=017a711f-604d-449a-81d9-6cb6505f6e37" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related more-info pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.semanticpool.de/apache-lucene-and-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>datetime_select seconds</title>
		<link>http://www.semanticpool.de/datetime_select-seconds/</link>
		<comments>http://www.semanticpool.de/datetime_select-seconds/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 09:36:03 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Ruby/RoR]]></category>

		<guid isPermaLink="false">http://www.semanticpool.de/?p=405</guid>
		<description><![CDATA[I&#8217;ve just looked for the possibility to include the seconds into Rails&#8217; DateHelper function datetime_select. After i haven&#8217;t found it in the Rails API documentation i tried to add an extra parameter include_seconds, set it to true and voilà &#8230; it worked like a charm:
&#60;%= datetime_select("post", "written_on", :start_year =&#62; 1995, :include_seconds =&#62; true) %&#62;
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just looked for the possibility to include the seconds into Rails&#8217; DateHelper function <a href="http://api.rubyonrails.org/classes/ActionView/Helpers/DateHelper.html#M001668" target="_blank">datetime_select</a>. After i haven&#8217;t found it in the Rails API documentation i tried to add an extra parameter <strong>include_seconds</strong>, set it to <strong>true</strong> and voilà &#8230; it worked like a charm:</p>
<pre>&lt;%= datetime_select("post", "written_on", :start_year =&gt; 1995, <strong>:include_seconds =&gt; true</strong>) %&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.semanticpool.de/datetime_select-seconds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>no such file to load &#8212; mysql</title>
		<link>http://www.semanticpool.de/no-such-file-to-load-mysql/</link>
		<comments>http://www.semanticpool.de/no-such-file-to-load-mysql/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 22:59:45 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Ruby/RoR]]></category>
		<category><![CDATA[how to fix the error...]]></category>

		<guid isPermaLink="false">http://www.semanticpool.de/?p=379</guid>
		<description><![CDATA[I got the error
no such file to load &#8212; mysql
when running my Rails application. After that i tried to install the mysql gem module using
sudo gem install mysql
but it gave me an error saying:
ERROR:  Error installing mysql:
ERROR: Failed to build gem native extension.
I then included a parameter to the install command which showed the path [...]]]></description>
			<content:encoded><![CDATA[<p>I got the error</p>
<blockquote><p>no such file to load &#8212; mysql</p></blockquote>
<p>when running my Rails application. After that i tried to install the mysql <a href="http://www.rubygems.org/">gem</a> module using</p>
<pre>sudo gem install mysql</pre>
<p>but it gave me an error saying:</p>
<blockquote><p>ERROR:  Error installing mysql:<br />
ERROR: Failed to build gem native extension.</p></blockquote>
<p>I then included a parameter to the install command which showed the path to the mysql_config file</p>
<pre>sudo gem install mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config</pre>
<p>That did the trick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semanticpool.de/no-such-file-to-load-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>undefined method `cache_template_loading=&#8217; for ActionView::Base:Class</title>
		<link>http://www.semanticpool.de/undefined-method-cache_template_loading-for-actionviewbaseclass/</link>
		<comments>http://www.semanticpool.de/undefined-method-cache_template_loading-for-actionviewbaseclass/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 22:42:40 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Ruby/RoR]]></category>
		<category><![CDATA[how to fix the error...]]></category>

		<guid isPermaLink="false">http://www.semanticpool.de/?p=373</guid>
		<description><![CDATA[I got the following error message when trying to run a Rails application with passenger after updating Rails:
undefined method `cache_template_loading=&#8217; for ActionView::Base:Class
I had to comment or remove the line
config.action_view.cache_template_loading = true
in the production.rb file to fix the problem.
]]></description>
			<content:encoded><![CDATA[<p>I got the following error message when trying to run a Rails application with passenger after updating Rails:</p>
<blockquote><p>undefined method `cache_template_loading=&#8217; for ActionView::Base:Class</p></blockquote>
<p>I had to comment or remove the line</p>
<blockquote><p>config.action_view.cache_template_loading = true</p></blockquote>
<p>in the <strong>production.rb</strong> file to fix the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semanticpool.de/undefined-method-cache_template_loading-for-actionviewbaseclass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;pronounced her-OH-koo&#8221;</title>
		<link>http://www.semanticpool.de/pronounced-her-oh-koo/</link>
		<comments>http://www.semanticpool.de/pronounced-her-oh-koo/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 06:20:34 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Building the Web]]></category>
		<category><![CDATA[Ruby/RoR]]></category>

		<guid isPermaLink="false">http://www.semanticpool.de/?p=355</guid>
		<description><![CDATA[Just stumble on a Ruby on Rails online deployment service: Heroku. Don&#8217;t know if its good, but it looks promising.
]]></description>
			<content:encoded><![CDATA[<p>Just stumble on a <em>Ruby on Rails online deployment service</em>: <a href="http://heroku.com/">Heroku</a>. Don&#8217;t know if its good, but it looks promising.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semanticpool.de/pronounced-her-oh-koo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standardizing rails flash messages</title>
		<link>http://www.semanticpool.de/standardizing-rails-flash-messages/</link>
		<comments>http://www.semanticpool.de/standardizing-rails-flash-messages/#comments</comments>
		<pubDate>Tue, 06 May 2008 06:28:35 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Ruby/RoR]]></category>

		<guid isPermaLink="false">http://www.semanticpool.de/?p=342</guid>
		<description><![CDATA[:notice for positive feedback (action successful, etc)
:message for neutral feedback (reminders, etc)
:warning for negative feedback (action unsuccessful, error encountered, etc)
(via DZone)
]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>:notice</strong> for positive feedback (action successful, etc)<br />
<strong>:message</strong> for neutral feedback (reminders, etc)<br />
<strong>:warning</strong> for negative feedback (action unsuccessful, error encountered, etc)</p></blockquote>
<p>(via <a href="http://snippets.dzone.com/posts/show/1348">DZone</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.semanticpool.de/standardizing-rails-flash-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
