couchbase / couchbase-ruby-model

The Active Model implementation for Couchbase Server built on couchbase-ruby-client
61 stars 23 forks source link

test for activemodel instead of rails for activemodel validations #12

Open Xylakant opened 11 years ago

Xylakant commented 11 years ago

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.

avsej commented 11 years ago

Moved to review site http://review.couchbase.org/26137