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

Added has_attributes to replace delegate_to #257

Merged
merged 1 commit into from
Oct 24, 2013
Merged

Conversation

jcoyne
Copy link
Member

@jcoyne jcoyne commented Oct 23, 2013

We don't want to conflate attributes stored in the repository with delegating
to methods. There are certain actions like change tracking or casting to
a singular value (multiple: false) that we only want to do on persisted
attributes. The previous implementation could break in certain cases when
developers attempted to use ActiveSupport's delegate method.

We don't want to conflate attributes stored in the repository with delegating
to methods. There are certain actions like change tracking or casting to
a singular value (multiple: false) that we only want to do on persisted
attributes.  The previous implementation could break in certain cases when
developers attempted to use ActiveSupport's delegate method.
jeremyf added a commit that referenced this pull request Oct 24, 2013
Added has_attributes to replace delegate_to
@jeremyf jeremyf merged commit 1cb9766 into 6-7-stable Oct 24, 2013
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.

3 participants