Skip to content

Conversation

@rubendinho
Copy link

This prevents ActiveRecord::ReadonlyAttributeError errors when using the find_existing_by option with ActiveRecord models using read-only attributes.

When a persisted record is being seeded, a model's readonly attributes are skipped from being modified.

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.

1 participant