Skip to content

test for activemodel instead of rails for activemodel validations #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Xylakant
Copy link

@Xylakant Xylakant commented May 6, 2013

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.

There's a lot of use-cases where active-model 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
Copy link
Member

avsej commented May 6, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants