Skip to content

Add relationship reflection option#739

Merged
lgebhardt merged 2 commits intomasterfrom
reflect_relationship
Jul 20, 2016
Merged

Add relationship reflection option#739
lgebhardt merged 2 commits intomasterfrom
reflect_relationship

Conversation

@lgebhardt
Copy link
Copy Markdown
Contributor

@lgebhardt lgebhardt commented Jun 14, 2016

Addresses #727

Comment thread README.md Outdated
# Relationship reflection invokes the related resource when updates
# are made to a has_many relationship. By default relationship_reflection
# is turned off because it imposes a small performance penalty.
self.use_relationship_reflection = false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be config.use_relationship_reflection = false ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you asking if the default should be to keep use_relationship_reflection set to true?

@lgebhardt lgebhardt force-pushed the reflect_relationship branch from 4e798c9 to 1fc4e64 Compare July 19, 2016 12:44
Comment thread README.md Outdated
# Relationship reflection invokes the related resource when updates
# are made to a has_many relationship. By default relationship_reflection
# is turned off because it imposes a small performance penalty.
self.use_relationship_reflection = false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I mean self should be config.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shunwen Good catch, thanks!

@lgebhardt lgebhardt merged commit 3e0e104 into master Jul 20, 2016
@lgebhardt lgebhardt deleted the reflect_relationship branch July 21, 2016 15:56
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