Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Oct 11, 2014
  1. @avsej

    Couchbase::Model#find raises Couchbase::Error::NotFound if id is nil.

    Archit Baweja authored avsej committed
    fixes #32
    
    Change-Id: Icac4d0eb7e0bb8106d838947a6299dab9b26cd6a
    Reviewed-on: http://review.couchbase.org/42053
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Sep 25, 2014
  1. @avsej

    Added test + fix for callbacks for destroy.

    Archit Baweja authored avsej committed
    Change-Id: If25863ddeaf2a3a8744d19dcc13dddbe62b45e0b
    Reviewed-on: http://review.couchbase.org/41660
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @avsej

    Added test + fix for belongs_to to define an assoc setter based on name.

    Archit Baweja authored avsej committed
    Change-Id: I67fa9ff0288997f6182be7305047469cb44b7ee4
    Reviewed-on: http://review.couchbase.org/41659
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Sep 10, 2014
  1. @avsej

    Added test + fix for Couchbase::Model#destroy

    Archit Baweja authored avsej committed
    Fixes #29 and #30
    
    Change-Id: I01158c7c8d12efb6f141286212bcd8fef50bec9e
    Reviewed-on: http://review.couchbase.org/41320
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Sep 9, 2014
  1. @avsej

    Fix saving record using #update_attributes

    Archit Baweja authored avsej committed
    Change-Id: I8e775dead0a610ff610aa66834524cb661339596
    Reviewed-on: http://review.couchbase.org/41273
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @avsej

    Allow save & save! without performing validations

    Archit Baweja authored avsej committed
    Fixes #17
    
    Change-Id: I2dad010c8739bf7b0e81b02f449877edaa26a16b
    Reviewed-on: http://review.couchbase.org/41272
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Aug 29, 2014
  1. @avsej

    Bump version 0.5.4

    avsej authored
    Change-Id: I2b85f54ccbdd1971b33aa8e4ae8c2bc6b9c91252
    Reviewed-on: http://review.couchbase.org/41094
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @avsej

    Update mock version

    avsej authored
    Change-Id: Id5895473168d4fed367cd72faa4f5fad05ef1a6c
    Reviewed-on: http://review.couchbase.org/41093
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Jun 9, 2014
  1. @sohaibbhatti @avsej

    fix failing test. Result is always string

    sohaibbhatti authored avsej committed
    Change-Id: Ifbc9b2f768fd616e2bb52fff184ba67078d525bc
    Reviewed-on: http://review.couchbase.org/37995
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @sohaibbhatti @avsej

    typo in documentation

    sohaibbhatti authored avsej committed
    Change-Id: I7ade304c737cb999667d754ff227c8ecc53f7927
    Reviewed-on: http://review.couchbase.org/37996
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Feb 23, 2014
  1. @t3hpr1m3 @avsej

    Added dirty tracking for attributes, using ActiveModel::Dirty

    t3hpr1m3 authored avsej committed
    Change-Id: Ibb9975b06755d4accc3201837144cd90797c0015
    Reviewed-on: http://review.couchbase.org/33857
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Feb 11, 2014
  1. @t3hpr1m3 @avsej

    Added hash accessor methods, which are expected for interoperability …

    t3hpr1m3 authored avsej committed
    …with many other frameworks (such as Devise)
    
    Change-Id: Ia5f0293576f4656c09097dc673e5103792784d9f
    Reviewed-on: http://review.couchbase.org/33436
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Dec 10, 2013
  1. @mje113 @avsej

    Making the uniq_id test helper return truly unique ids. Updated metho…

    mje113 authored avsej committed
    …d taken from client source.
    
    Change-Id: I66924b043400b2e6863b154fe8e0363f2b101e6f
    Reviewed-on: http://review.couchbase.org/30991
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Oct 28, 2013
  1. @avsej

    Add support for the :class_name option in belongs_to

    Stephen von Takach authored avsej committed
    Change-Id: I6aa6e6f6c23e761ccad72edfb45788c81a1bea49
    Reviewed-on: http://review.couchbase.org/29821
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Oct 25, 2013
  1. @jmoses @avsej

    Model#reload refreshes the CAS value also

    jmoses authored avsej committed
    Change-Id: Iea51dc9a1c8635dafa4a83582d08d73069a81bcd
    Reviewed-on: http://review.couchbase.org/29745
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Oct 21, 2013
  1. @mje113 @avsej

    Added remaining missing AM callbacks.

    mje113 authored avsej committed
    Change-Id: I51c77c716147b82effa263f56e921f6a71f2d5f5
    Reviewed-on: http://review.couchbase.org/29630
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @mje113 @avsej

    Make ActiveModel a dependency and fully implement its interface

    mje113 authored avsej committed
    Change-Id: Ie6834387c154165f2f3a853d2b9a59072516b0ef
    Reviewed-on: http://review.couchbase.org/29623
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Jun 7, 2013
  1. @ka8725 @avsej

    Refactor active model functionality for couchbase model

    ka8725 authored avsej committed
    Change-Id: Ib96304de55d5bdae737513269f4fad5789cb38a2
    Reviewed-on: http://review.couchbase.org/26822
    Reviewed-by: Andrey Koleshko <ka8725@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @ka8725 @avsej

    Use private policy instead of protected for attributes_with_values

    ka8725 authored avsej committed
    Change-Id: I7ae59f5f9f307eb8d2fea9753c420e236d2a1502
    Reviewed-on: http://review.couchbase.org/26819
    Reviewed-by: Andrey Koleshko <ka8725@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Jun 5, 2013
  1. @avsej

    Bump 0.5.3 version

    avsej authored
    Change-Id: I00a2c5cc093b025240b23ab0907ec65d5083a100
    Reviewed-on: http://review.couchbase.org/26759
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Jun 4, 2013
  1. @ka8725 @avsej

    Test for Model.design_document

    ka8725 authored avsej committed
    Change-Id: I1ce2e62c16e7a524e99d1873514ee9e225152324
    Reviewed-on: http://review.couchbase.org/26716
    Reviewed-by: Andrey Koleshko <ka8725@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Jun 3, 2013
  1. @ka8725 @avsej

    Prefer single-quoted strings

    ka8725 authored avsej committed
    * change "" to '' where interpolation is not used
    * add missed spaces for {}
    
    Change-Id: I4ba412272212510ea58fe2cec3a16b25ccdd52a7
    Reviewed-on: http://review.couchbase.org/26618
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on May 30, 2013
  1. @avsej

    Update couchbase dependency to 1.3.0

    avsej authored
    Change-Id: Ia76973796fb61c2360c36bf95f8ddff5d813dcd3
    Reviewed-on: http://review.couchbase.org/26615
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @jmoses @avsej

    Fix bug with Model.find_by_id([id])

    jmoses authored avsej committed
    Model.find_by_id, when called with an array containing a single argument
    would return a single instance of the model, rather than the exepected
    single item array.
    
    Change-Id: Iffd7a5c93ecc02b952f6b6badfdbf9ee5b3df021
    Reviewed-on: http://review.couchbase.org/26591
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on May 28, 2013
  1. @jmoses @avsej

    Support for batch finding multiple objects by id

    jmoses authored avsej committed
    Change-Id: I2de4ce32caf0e733d51d7f0bfd5914ff6a3695f7
    Reviewed-on: http://review.couchbase.org/26542
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on May 13, 2013
  1. @avsej

    Test for activemodel instead of rails for activemodel validations

    avsej authored
    There's a lot of use-cases where ActiveModel gets used without
    including the full rails stack. Since nothing in activemodel
    validations depends on rails, we can just test if activemodel is
    available before including it, instead of testing for rails.
    
    Thanks to @Xylakant
    
    Reference: #12
    Change-Id: I25c311e49836cdf21e126510198b4fd0e9d0e170
    Reviewed-on: http://review.couchbase.org/26137
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Feb 25, 2013
  1. @avsej

    Bump version 0.5.2

    avsej authored
    Change-Id: I4526377eac294925cac339b16ea143442d6302f0
    Reviewed-on: http://review.couchbase.org/24824
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @mje113 @avsej

    Fixed bug with class inheritance and attribute and view's in subclasses

    mje113 authored avsej committed
    An included module is inserted into the inheritance chain so the
    proper Couchbase::Model derived ancestor was not being selected.
    
    Change-Id: Id748d14b28fc567473ff484720406baedf790e68
    Reviewed-on: http://review.couchbase.org/24693
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Feb 20, 2013
  1. @avsej

    Update URL to commit-msg hook in CONTRIBUTING doc

    avsej authored
    Change-Id: I65cebc87d1a8ed3185768d49ca57a73ee967ecd4
    Reviewed-on: http://review.couchbase.org/24745
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  2. @avsej

    Fix repository URL in CONTRIBUTING

    avsej authored
    Change-Id: Ib8fffa4f7dcc2b5e6c3ebe0fcff14ac64a7b8683
    Reviewed-on: http://review.couchbase.org/24742
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  3. @avsej

    Reduce development dependencies and update jar version

    avsej authored
    Change-Id: I8b22350ad2dab696d36a6a492dfc2242b52aa1ec
    Reviewed-on: http://review.couchbase.org/24685
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  4. @avsej

    Remove comments from the javascript sources

    avsej authored
    Fixes errors like this
    
      Couchbase::Error::HTTP: failed to execute HTTP request (key="_design/coupon_code_c", status="400" (Bad Request), error=0x00)
          from /ruby-1.9.3-p327/gems/couchbase-1.2.1/lib/couchbase/bucket.rb:165:in `continue'
          from /ruby-1.9.3-p327/gems/couchbase-1.2.1/lib/couchbase/bucket.rb:165:in `save_design_doc'
    
    Change-Id: Ic4850e1eb4cea2b1c797f509cf402efa99fceb6e
    Reference: #5
    Reviewed-on: http://review.couchbase.org/24688
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  5. @avsej

    Fix test hiding

    avsej authored
    Change-Id: I1597882fb679cb08e449439b64ee510621e677a1
    Reference: #3
    Reviewed-on: http://review.couchbase.org/24684
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Feb 9, 2013
  1. @avsej

    Fixup README typos

    avsej authored
    Fixes issue #4 on github[1]
    
    [1]: #4
    
    Change-Id: Idff3741eb4c4cf41b74cf9ddde861e3ffc092bcb
    Reviewed-on: http://review.couchbase.org/24123
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Commits on Jan 22, 2013
  1. @avsej

    Add contributing document

    avsej authored
    Change-Id: Ic82a263bbe15900a0abb55af7ab7c7ff6d26ad37
    Reviewed-on: http://review.couchbase.org/24124
    Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
    Reviewed-by: Michael Nitschinger <michael.nitschinger@couchbase.com>
Something went wrong with that request. Please try again.