simply_stored icon indicating copy to clipboard operation
simply_stored copied to clipboard

CouchDB and SimplyStored

Open shenoudab opened this issue 14 years ago • 4 comments

Dears, i was trying SimplyStored with CouchDB today with rails master and simply_stored master after configure and running i got the following :

firstly, when calling the index method of the model "localhost:3000/posts" .. its shows RestClient::RequestTimeout (Request Time Out).

when trying to create a model which have Date property as :type => Date or :type => :date i got the following undefined method `start_date(1i)='

shenoudab avatar Jul 11 '10 08:07 shenoudab

First up, SimplyStored is untested with Rails 3.x. We're using it with 2.3 for now, so your mileage with 3.x may vary.

Could you be a bit more specific as to which CouchDB version you're using, what your model exactly looks like and what index method is called? Would sure help a lot figuring out the issues you may have. Plus, any output from the CouchDB log would be useful. Also, which version of CouchRest got installed?

roidrage avatar Jul 11 '10 09:07 roidrage

CouchDB 0.11 ,

include SimplyStored::Couch property :title property :body

index called method Post.all

couchrest versions both 1.0.0.beta2, 0.37 installed.

shenoudab avatar Jul 11 '10 09:07 shenoudab

What happens when you create an object on the console and then call Post.all? Does it take a long time to finish?

roidrage avatar Jul 11 '10 09:07 roidrage

Can anyone shed some light on how to configure simply_stored with Rails 3.x? I'm trying to simply do a hello world type example using this setup and struggling a bit.

I've got: gem 'simply_stored' in my GemFile but not sure where to add the database configuration for CouchPotato

I understand this is untested...curious if it's possible. Thanks in advance!

DonFuego avatar Oct 28 '10 20:10 DonFuego