<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: CouchDB on Rails (part 5 of ?)</title>
	<atom:link href="http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/feed" rel="self" type="application/rss+xml" />
	<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of</link>
	<description>aimee&#039;s personal journal</description>
	<lastBuildDate>Tue, 16 Mar 2010 22:42:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Memory Cards</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-10693</link>
		<dc:creator>Memory Cards</dc:creator>
		<pubDate>Mon, 10 Aug 2009 12:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-10693</guid>
		<description>Like all good projects, RelaxDB has some RSpec tests, but before i can run them i need a few more gems such as extlib, json, uuid. Just use &#039;gem install&#039; as root to install them. The specs will not run until you meet all the requirements.</description>
		<content:encoded><![CDATA[<p>Like all good projects, RelaxDB has some RSpec tests, but before i can run them i need a few more gems such as extlib, json, uuid. Just use &#39;gem install&#39; as root to install them. The specs will not run until you meet all the requirements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claes Nygren</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-10358</link>
		<dc:creator>Claes Nygren</dc:creator>
		<pubDate>Sat, 23 May 2009 17:39:14 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-10358</guid>
		<description>A few things: &lt;br&gt;I think you now have to specify a design_doc in RelaxDB.configure such as:&lt;br&gt;&lt;br&gt; RelaxDB.configure :host =&gt; &quot;localhost&quot;, :port =&gt; 5984, :design_doc =&gt; &quot;app&quot;&lt;br&gt;&lt;br&gt;also you may have to do  &lt;br&gt;&lt;br&gt; rake db:migrate&lt;br&gt;&lt;br&gt;just to create a  db/schema.rb, even if you are not using sqlite before you do &lt;br&gt;&lt;br&gt;rake spec</description>
		<content:encoded><![CDATA[<p>A few things: <br />I think you now have to specify a design_doc in RelaxDB.configure such as:</p>
<p> RelaxDB.configure :host =&gt; &#034;localhost&#034;, :port =&gt; 5984, :design_doc =&gt; &#034;app&#034;</p>
<p>also you may have to do  </p>
<p> rake db:migrate</p>
<p>just to create a  db/schema.rb, even if you are not using sqlite before you do </p>
<p>rake spec</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BiLO</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-10253</link>
		<dc:creator>BiLO</dc:creator>
		<pubDate>Tue, 28 Apr 2009 14:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-10253</guid>
		<description>very helpful . thank you</description>
		<content:encoded><![CDATA[<p>very helpful . thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aaronasjones</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-10130</link>
		<dc:creator>aaronasjones</dc:creator>
		<pubDate>Sat, 14 Mar 2009 14:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-10130</guid>
		<description>Thank you for sharing this information.&lt;br&gt;&lt;a href=&quot;http://www.reverseaccesslivedoor.net&quot; rel=&quot;nofollow&quot;&gt;Reverse Access Livedoor&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thank you for sharing this information.<br /><a href="http://www.reverseaccesslivedoor.net" rel="nofollow">Reverse Access Livedoor</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Tsadok</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-8125</link>
		<dc:creator>Daniel Tsadok</dc:creator>
		<pubDate>Mon, 22 Dec 2008 20:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-8125</guid>
		<description>Great writeup! Aimee - I agree, that setting the properties explicitly is a pain.

I would imagine that creating a view explicitly in CouchDB would let you do a search by title - sort of like creating a stored procedure (but I haven&#039;t read parts 6+ yet, so maybe I&#039;m jumping the gun!)  Not Rails-y, but it&#039;s not designed for Rails...</description>
		<content:encoded><![CDATA[<p>Great writeup! Aimee &#8211; I agree, that setting the properties explicitly is a pain.</p>
<p>I would imagine that creating a view explicitly in CouchDB would let you do a search by title &#8211; sort of like creating a stored procedure (but I haven&#039;t read parts 6+ yet, so maybe I&#039;m jumping the gun!)  Not Rails-y, but it&#039;s not designed for Rails&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-6711</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Fri, 17 Oct 2008 14:46:38 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-6711</guid>
		<description>Hi Aimee,
I configured the app like you sad. But when rails initialize it keeps calling the database.yml. I tried to turn off in enviroment.rb:
   config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
There&#039;s a bug in rails that it doens&#039;t work very well. I think I&#039;m missing something here. Do you have your source code anywhere so I can look at it?
thanks</description>
		<content:encoded><![CDATA[<p>Hi Aimee,<br />
I configured the app like you sad. But when rails initialize it keeps calling the database.yml. I tried to turn off in enviroment.rb:<br />
   config.frameworks -= [ :active_record, :active_resource, :action_mailer ]<br />
There&#039;s a bug in rails that it doens&#039;t work very well. I think I&#039;m missing something here. Do you have your source code anywhere so I can look at it?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aimee</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-6110</link>
		<dc:creator>Aimee</dc:creator>
		<pubDate>Thu, 09 Oct 2008 16:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-6110</guid>
		<description>Hi Bruno,

I don&#039;t think you can use database.yml together with CouchDB. There is no couchdb adapter that i know of.

If you&#039;re using RelaxDB you could try putting the details into your config/environment.rb:

&lt;code&gt;RelaxDB.configure(:host =&gt; &#039;localhost&#039;, :port =&gt; 5984)
RelaxDB.use_db &#039;sysx_development&#039;&lt;/code&gt;

I can&#039;t remember whether i maybe had to create an empty MySQL database just so that the database.yml didn&#039;t cry.</description>
		<content:encoded><![CDATA[<p>Hi Bruno,</p>
<p>I don&#039;t think you can use database.yml together with CouchDB. There is no couchdb adapter that i know of.</p>
<p>If you&#039;re using RelaxDB you could try putting the details into your config/environment.rb:</p>
<p><code>RelaxDB.configure(:host => 'localhost', :port => 5984)<br />
RelaxDB.use_db 'sysx_development'</code></p>
<p>I can&#039;t remember whether i maybe had to create an empty MySQL database just so that the database.yml didn&#039;t cry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-6108</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Thu, 09 Oct 2008 14:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-6108</guid>
		<description>Hi Aimee. First of all congratulations on your blog. I&#039;m learning a lot.
Now I need some help with running the rspec in my project.
I&#039;m getting the error:
rake aborted!
#42000Unknown database &#039;sysx_development&#039;
when i run &quot;rake rspec&quot;. This is the database that is in my database.yml file and is setted to mysql. I tried to configure the file like this:
development:
  adapter:  couchdb
  database: sysx_development
  host:     127.0.0.1
  port:     5984
After that, executing  rspec asks for a gem called activerecord-couchdb-adapter. But it doesn&#039;t exist. Am I going throw the wrong way?</description>
		<content:encoded><![CDATA[<p>Hi Aimee. First of all congratulations on your blog. I&#039;m learning a lot.<br />
Now I need some help with running the rspec in my project.<br />
I&#039;m getting the error:<br />
rake aborted!<br />
#42000Unknown database &#039;sysx_development&#039;<br />
when i run &#034;rake rspec&#034;. This is the database that is in my database.yml file and is setted to mysql. I tried to configure the file like this:<br />
development:<br />
  adapter:  couchdb<br />
  database: sysx_development<br />
  host:     127.0.0.1<br />
  port:     5984<br />
After that, executing  rspec asks for a gem called activerecord-couchdb-adapter. But it doesn&#039;t exist. Am I going throw the wrong way?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aimee</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-5715</link>
		<dc:creator>Aimee</dc:creator>
		<pubDate>Thu, 11 Sep 2008 23:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-5715</guid>
		<description>Hi Randy, the specs are working just fine for me with the RelaxDB. Is your CouchDB server running?</description>
		<content:encoded><![CDATA[<p>Hi Randy, the specs are working just fine for me with the RelaxDB. Is your CouchDB server running?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy</title>
		<link>http://aimee.mychores.co.uk/2008/09/11/post/327/couchdb-on-rails-part-5-of/comment-page-1#comment-5713</link>
		<dc:creator>Randy</dc:creator>
		<pubDate>Thu, 11 Sep 2008 22:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://aimee.mychores.co.uk/?p=327#comment-5713</guid>
		<description>If you are having problems running the spec, you might need to update your gems.

This is the error I was getting:

  undefined method `generate&#039; for &quot;0322b6d0-6270-012b-24ea-0017f2d556c5&quot;:String</description>
		<content:encoded><![CDATA[<p>If you are having problems running the spec, you might need to update your gems.</p>
<p>This is the error I was getting:</p>
<p>  undefined method `generate&#039; for &#034;0322b6d0-6270-012b-24ea-0017f2d556c5&#034;:String</p>
]]></content:encoded>
	</item>
</channel>
</rss>
