couchbase-ruby-model icon indicating copy to clipboard operation
couchbase-ruby-model copied to clipboard

test for activemodel instead of rails for activemodel validations

Open Xylakant opened this issue 12 years ago • 1 comments

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.

Xylakant avatar May 06 '13 09:05 Xylakant

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

avsej avatar May 06 '13 19:05 avsej