This guide has been absorbed by the new docs site and is no longer maintained.
For the latest, head on over to https://github.com/acaprojects/docs.
A Couchbase ORM based on ActiveModel for Rails compatibility
License: Other
This guide has been absorbed by the new docs site and is no longer maintained.
For the latest, head on over to https://github.com/acaprojects/docs.
Hi @stakach , I'm playing with this lib and everything works nicely except 2 strange things :
FFI::NullPointerError: invalid memory read at address=0x00000000000000 from /usr/local/bundle/gems/libcouchbase-0.1.0/lib/libcouchbase/query_view.rb:98:in
[]'`Any thoughts ?
Hello,
I try to use couchbase-orm.
I have some question to run it.
Which is the version couchbase this library is based ? And how configure couchbase bucket and user.
Best Regards
Maxime
Hi!
Is it possible to execute an N1QL query using this library?
Hi, I experience some problems with libcouchbase which seems to build correctly :
gem install libcouchbase Building native extensions. This could take a while... Successfully installed libcouchbase-0.1.0 Parsing documentation for libcouchbase-0.1.0 Installing ri documentation for libcouchbase-0.1.0 Done installing documentation for libcouchbase after 17 seconds 1 gem installed
but when I try to start my rails app :
rails c /Users/alexcentar/.rvm/gems/ruby-2.2.6/gems/ffi-1.9.17/lib/ffi/library.rb:147:in
block in ffi_lib': Could not open library '/Users/alexcentar/.rvm/gems/ruby-2.2.6/gems/libcouchbase-0.1.0/ext/libcouchbase/build/lib/libcouchbase.dylib': dlopen(/Users/alexcentar/.rvm/gems/ruby-2.2.6/gems/libcouchbase-0.1.0/ext/libcouchbase/build/lib/libcouchbase.dylib, 5): image not found (LoadError)`
Indeed, no file can be found in the build folder. Any Idea why ?
It overrides rails g scaffold
in a strange way. It prevents model to be generated by ActiveRecord(if it's included to app) but doesn't generate its own model.
Because ActiveRecord is significantly more popular than couch for rails environment nowadays, maybe it makes sense to leave generator untouched, so those who what to add couch alongside good ol' relational DB didn't have issues with commenting/uncommenting this dependency when they need to generate something?
It's not something urgent or very important, just my 2 cents.
Can we make it compatible with the modern version of couchbase?
For now, I encountered that views don't work for couchbase 4.x and 5.x out of the box. It fails with {"error":"not_found","reason":"Design document _design/funnel not found"}
If you lost interest in maintaining it, I could/would like to contribute and figure it myself, but at least can you please make CI config work correctly and fail because of test issues, not because of deps? I guess you as the creator can make it much faster than a complete stranger like me.
Thanks, Yar
/cc @stakach
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.