Open Xylakant opened 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.
Moved to review site http://review.couchbase.org/26137
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.