Skip to content
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

Fix contracts used in AR-models #237

Merged
merged 1 commit into from
May 17, 2016
Merged

Conversation

eval
Copy link
Contributor

@eval eval commented May 17, 2016

ActiveRecord::Base.inherited needs to be called in order for models to be setup correctly.

Fixes #223

ActiveRecord::Base.inherited needs to be called in order for models to be setup correctly.

Fixes egonSchiele#223
@waterlink
Copy link
Collaborator

Thanks @eval

@waterlink waterlink merged commit 78205de into egonSchiele:master May 17, 2016
jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Jun 4, 2017
## v0.16.0

- **Support for Ruby 1.8 has been discontinued** - [Corey Farwell](https://github.com/frewsxcv) [#256](egonSchiele/contracts.ruby#256)
- Enhancement: Add a `Contracts::Attrs` module containing attribute w/ contracts utilities - [Corey Farwell](https://github.com/frewsxcv) [#255](egonSchiele/contracts.ruby#255)
- Bugfix: Fix StrictHash contract for extra keys - [Maciej Malecki](https://github.com/smt116) [#254](egonSchiele/contracts.ruby#254)

## v0.15.0
- Bugfix: Func contract's return value isn't enforced with blocks - [Piotr Szmielew](https://github.com/esse) [#251](egonSchiele/contracts.ruby#251)
- Bugfx: Fix contracts used in AR-models - [Gert Goet](https://github.com/eval) [#237](egonSchiele/contracts.ruby#237)
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