You cannot post messages because only members can post, and you are not currently a member.
Description:
Community and support for people using CouchRest, and Ruby with CouchDB.
|
|
|
couchdb.yml is ignored
|
| |
(cross post of [link])
I have weird problem, on my mac it works perfect, on my friends mac
(even after clean install of all gems) couch rest simply ignores
configuration and fallback to defaults.
GIT
remote: [link]... more »
|
|
Testing with RSpec in Rails
|
| |
Maybe this is a silly question, because I haven't been able to find anything in the documentation, issues, or Stack Overflow on what to do about "transactioning" each test case in RSpec, particularly when testing Rails CouchRest::Model::Base classes. I know CouchDB doesn't support transactions, but when you're using a... more »
|
|
CouchRest.put throws an error
|
| |
Hi, I need to update a couchdb document, when I and run the following command in ruby irb CouchRest.put('[link], {"_id": "1","_rev": "sdf", "test": "testing"}) I get an error - RestClient::Request::Unauthori zed: 401 Unauthorized: {"error":"unauthorized","reaso n":"You are not a server admin."}... more »
|
|
Proxying and creation of a database for each child
|
| |
Hello,
I have a couple of models with the parent directly and indirectly
being the User model. What would I need to put in each of the models
in order to have each user have their own database?
Thanks,
David
|
|
has_one and belongs_to-like associations
|
| |
Hello,
How does one replicate the has_one and belongs_to-like associations
with CouchRest and CouchRest Model?
I would like to be able to do things like:
user.build_subscription(:subsc ription_attribute => 'Example')
and
subscription.user.method
Supposing that User has_one Subscription and Subscription belongs_to... more »
|
|
respond_to on view not working
|
| |
I am using Couchrest_model v1.1.2
I have a Model with view. Lets say there is a model User with view
defined as -
view :by_email
Now when I call User.respond_to? by_email, or anything like
( :by_email or 'by_email'), I get a false.
However on calling User.by_email, I do get proper response.... more »
|
|
Updating values under mass_assign_any_attribute
|
| |
Hello,
I have set mass_assign_any_attribute = true
I am able to add fields to document which are not defined as
properties using update_attributes.
However when i try to update these fields using update_attributes,
they are not getting updated.
Say for e.g. I have
class Person < CouchRest::Model::Base... more »
|
|
|