Closed ebaker355 closed 12 years ago
Sorry for delay, but I can't merge this pull request, because tests failed. I've found this problem too and it solved in new (but unstable) version.
Thanks for contributing.
No problem. Keep up the good work! Your code looks very interesting.
Eric
On Jun 29, 2012, at 4:54 AM, "alex.d"reply@reply.github.com wrote:
Sorry for delay, but I can't merge this pull request, because tests failed. I've found this problem too and it solved in new (but unstable) version.
Thanks for contributing.
Reply to this email directly or view it on GitHub: https://github.com/AlexDenisov/iActiveRecord/pull/11#issuecomment-6655152
Fixed. You can try new version from master branch, but instead @synthesize use @dynamic at records. Docs would be updated soon. Note that current master version is still in development. Thank for contribution and feel free to open issues and pull requests.
Uniqueness validator would fail if a record was being updated, but the required unique field did not change. Now the validator excludes the old record when looking for duplicates.