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

Create mutable document view #619

Merged
merged 1 commit into from
Jun 6, 2015
Merged

Create mutable document view #619

merged 1 commit into from
Jun 6, 2015

Conversation

denisdefreyne
Copy link
Member

This DRYs up some view code.

It also makes #update_attributes available for layout views.

I’m not super happy with the use of mixins here, but it does the job and makes the code cleaner. I’ll probably revisit this at some point.

denisdefreyne added a commit that referenced this pull request Jun 6, 2015
@denisdefreyne denisdefreyne merged commit 0f7cfec into master Jun 6, 2015
@denisdefreyne denisdefreyne deleted the document-mixins branch June 6, 2015 16:36
@denisdefreyne denisdefreyne modified the milestone: 4.0.0 Jun 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant