<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>A little place of calm - Latest Comments in A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimeeblog.disqus.com/</link><description>Aimee's personal blog</description><language>en</language><lastBuildDate>Sat, 23 May 2009 13:39:14 -0000</lastBuildDate><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-9833020</link><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 =&amp;gt; "localhost", :port =&amp;gt; 5984, :design_doc =&amp;gt; "app"&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><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Claes Nygren</dc:creator><pubDate>Sat, 23 May 2009 13:39:14 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-8774708</link><description>very helpful . thank you</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BiLO</dc:creator><pubDate>Tue, 28 Apr 2009 10:11:15 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865488</link><description>Great writeup! Aimee - I agree, that setting the properties explicitly is a pain.&lt;br&gt;&lt;br&gt;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't read parts 6+ yet, so maybe I'm jumping the gun!)  Not Rails-y, but it's not designed for Rails...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Daniel Tsadok</dc:creator><pubDate>Mon, 22 Dec 2008 15:24:22 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865489</link><description>Hi Aimee,&lt;br&gt;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:&lt;br&gt;   config.frameworks -= [ :active_record, :active_resource, :action_mailer ]&lt;br&gt;There's a bug in rails that it doens't work very well. I think I'm missing something here. Do you have your source code anywhere so I can look at it?&lt;br&gt;thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruno</dc:creator><pubDate>Fri, 17 Oct 2008 10:46:38 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865497</link><description>Hi Bruno,&lt;br&gt;&lt;br&gt;I don't think you can use database.yml together with CouchDB. There is no couchdb adapter that i know of.&lt;br&gt;&lt;br&gt;If you're using RelaxDB you could try putting the details into your config/environment.rb:&lt;br&gt;&lt;br&gt;&lt;code&gt;RelaxDB.configure(:host =&amp;gt; 'localhost', :port =&amp;gt; 5984)&lt;br&gt;RelaxDB.use_db 'sysx_development'&lt;/code&gt;&lt;br&gt;&lt;br&gt;I can't remember whether i maybe had to create an empty MySQL database just so that the database.yml didn't cry.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sermoa</dc:creator><pubDate>Thu, 09 Oct 2008 12:48:08 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865496</link><description>Hi Aimee. First of all congratulations on your blog. I'm learning a lot.&lt;br&gt;Now I need some help with running the rspec in my project.&lt;br&gt;I'm getting the error:&lt;br&gt;rake aborted!&lt;br&gt;#42000Unknown database 'sysx_development'&lt;br&gt;when i run "rake rspec". This is the database that is in my database.yml file and is setted to mysql. I tried to configure the file like this:&lt;br&gt;development:&lt;br&gt;  adapter:  couchdb&lt;br&gt;  database: sysx_development&lt;br&gt;  host:     127.0.0.1&lt;br&gt;  port:     5984&lt;br&gt;After that, executing  rspec asks for a gem called activerecord-couchdb-adapter. But it doesn't exist. Am I going throw the wrong way?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruno</dc:creator><pubDate>Thu, 09 Oct 2008 10:57:22 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865492</link><description>Hi Randy, the specs are working just fine for me with the RelaxDB. Is your CouchDB server running?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sermoa</dc:creator><pubDate>Thu, 11 Sep 2008 19:25:21 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865490</link><description>If you are having problems running the spec, you might need to update your gems.&lt;br&gt;&lt;br&gt;This is the error I was getting:&lt;br&gt;&lt;br&gt;  undefined method `generate' for "0322b6d0-6270-012b-24ea-0017f2d556c5":String</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Randy</dc:creator><pubDate>Thu, 11 Sep 2008 18:24:20 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865495</link><description>@Ben, thank you for your encouragement.&lt;br&gt;&lt;br&gt;@Chris, i think the most important and useful feature would be to make use of CouchDB's dynamic document structure. If you can make a library that doesn't try to apologise for CouchDB's lack of schema, that would be awesome! :) I think the ability to create its own views when it needs them is a very strong feature.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sermoa</dc:creator><pubDate>Thu, 11 Sep 2008 16:41:15 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865493</link><description>It's really helpful to see the contrast between these frameworks. I'm beginning to think about how best to layer an application-model style wrapper on top of CouchRest. It's good to see what's helpful and what gets in the way, or is missing from these other libraries. Keep up the good work, looking forward to what's next!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris Anderson</dc:creator><pubDate>Thu, 11 Sep 2008 16:34:54 -0000</pubDate></item><item><title>Re: A little place of calm  &amp;raquo; Blog Archive   &amp;raquo; CouchDB on Rails (part 5 of ?)</title><link>http://aimee.mychores.co.uk/2008/09/11/post/327#comment-5865494</link><description>It's interesting to see how RelaxDB builds on CouchDB. Since CouchDB is so simple, there are many ways to use it, and it's nice to have a library like RelaxDB that provides an example of one way to use it. It looks like RelaxDB makes it easier for people who are used to thinking in terms of tables to begin using CouchDB.&lt;br&gt;&lt;br&gt;Nice article. I like how you show every step you take, because I can pick up on little unrelated bits of information (like the "-i" option that can be passed to sudo). It feels like I'm watching a screencast, except I can learn at my own pace and headphones aren't required.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">benatkin</dc:creator><pubDate>Thu, 11 Sep 2008 15:30:37 -0000</pubDate></item></channel></rss>