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

Add option to specify CASCADE and RESTRICT for Truncation strategy #115

Closed

Conversation

nnishimura
Copy link

Replaces #99

end

@only = Array(opts[:only]).dup
@except = Array(opts[:except]).dup

@reset_ids = opts[:reset_ids]
@pre_count = opts[:pre_count]
@truncate_option = opts[:cascade] || :restrict
Copy link

Choose a reason for hiding this comment

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

I'm pretty sure this should be opts[:truncate_option] rather than opts[:cascade] (I know this is from the original PR - just want to make sure it gets addressed before merging!)

@nnishimura
Copy link
Author

Closing in favor of #118

@nnishimura nnishimura closed this Jan 6, 2025
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