Questions tagged [couchpotato]

Couch Potato is a Ruby library for working with CouchDB. It integrates with Rails 2/3 and manages your CouchDB views for you.

Some basic documentation can be found in the readme on github: https://github.com/langalex/couch_potato#readme

10 questions
20
votes
6 answers

How to stop thinking "relationally"

At work, we recently started a project using CouchDB (a document-oriented database). I've been having a hard time un-learning all of my relational db knowledge. I was wondering how some of you overcame this obstacle? How did you stop thinking…
Matt Grande
  • 11,964
  • 6
  • 62
  • 89
2
votes
1 answer

Adding custom views using couch_potato and simply_stored?

I'm building a rails app above couchdb and decided to try the couch_potato and simply_stored gems as they seem add a nice feature set above the rest api and put the couchdb development 'on the rails'. From what I can see SimlyStored/Couch works…
devlearn
  • 1,725
  • 2
  • 17
  • 30
1
vote
2 answers

Rails + CouchDb binary file upload to Database

Simple-Stored is based on top of CouchPotato for handling CouchDb in rails. While trying to upload files to the couchdb we have tryied using base64, json post and nothing seems to work quite right; we are trying to upload to the _attachments…
Salvador Aceves
  • 348
  • 1
  • 4
  • 13
1
vote
1 answer

How to delete document from CouchDB using CouchPotato?

I have problems finding documentation on how to delete a document from CouchDB using CouchPotato. As fare as I know I have to set the property _deleted = true. When I want to get documents that is not deleted, I have tried to add a condition to my…
Fossmo
  • 2,862
  • 4
  • 25
  • 47
1
vote
1 answer

Dynamic Queries using Couch_Potato

The documentation for creating a fairly straightforward view is easy enough to find: view :completed, :key => :name, :conditions => 'doc.completed === true' How, though, does one construct a view with a condition created on the fly? For example, if…
user1381745
  • 3,850
  • 2
  • 21
  • 35
1
vote
0 answers

require angularjs directive using couchpotato

I'm trying to split my directives from being all in one file to dynamically calling directives when I need them. To do this I'm using couchpotato which can be found here: LINK I took a look at the example from the sample project found here but my…
Malcr001
  • 8,179
  • 9
  • 44
  • 57
0
votes
1 answer

Getting couchrest and couch_potato to recognize existing couchdb documents

I'm trying to create a basic Rails CRUD app against a CouchDB database hosted on Cloudant. I'm using couch_potato as my persistence layer and have it connecting properly to my Cloudant database. The issues I'm having is my first model won't see…
0
votes
1 answer

select is not finishing after choosing an option

I am working on a script to back up my CouchPotatoServer, but I'm having problems. Here is the code I am having problems with: select OPTION in Backup Restore Finish; do echo "You choose $OPTION CouchPotatoServer settings"; case $OPTION in …
0
votes
2 answers

nginx reverse proxy - only works on /

On my NAS I'm running seafile as an alternative to dropbox/owncloud. I'm using nginx and reverse proxy to serve the webgui using/forcing SSL. Everything for this works fine. Now, I want to set up some other locations for other things running on the…
Simon
  • 9,762
  • 15
  • 62
  • 119
0
votes
1 answer

Couthpotato no longer starting

Running CouchPotato on a Synology NAS, and I believe CouchPotato recently tried to auto-update itself, because it suddenly stopped working. I tried the solution recommended here, but that doesn't work. Judging from the logs, it looks like some SQL…
naasking
  • 2,514
  • 1
  • 27
  • 32